Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: webrtc/pc/mediasession.cc

Issue 2623473004: Replace all use of the VERIFY macro. (Closed)
Patch Set: Delete a DCHECK, instead log and return failure. And fix compile error in previous patch set. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/pc/mediasession.h" 11 #include "webrtc/pc/mediasession.h"
12 12
13 #include <algorithm> // For std::find_if, std::sort. 13 #include <algorithm> // For std::find_if, std::sort.
14 #include <functional> 14 #include <functional>
15 #include <map> 15 #include <map>
16 #include <memory> 16 #include <memory>
17 #include <set> 17 #include <set>
18 #include <unordered_map> 18 #include <unordered_map>
19 #include <utility> 19 #include <utility>
20 20
21 #include "webrtc/base/base64.h" 21 #include "webrtc/base/base64.h"
22 #include "webrtc/base/common.h"
22 #include "webrtc/base/checks.h" 23 #include "webrtc/base/checks.h"
23 #include "webrtc/base/helpers.h" 24 #include "webrtc/base/helpers.h"
24 #include "webrtc/base/logging.h" 25 #include "webrtc/base/logging.h"
25 #include "webrtc/base/stringutils.h" 26 #include "webrtc/base/stringutils.h"
26 #include "webrtc/common_video/h264/profile_level_id.h" 27 #include "webrtc/common_video/h264/profile_level_id.h"
27 #include "webrtc/media/base/cryptoparams.h" 28 #include "webrtc/media/base/cryptoparams.h"
28 #include "webrtc/media/base/mediaconstants.h" 29 #include "webrtc/media/base/mediaconstants.h"
29 #include "webrtc/p2p/base/p2pconstants.h" 30 #include "webrtc/p2p/base/p2pconstants.h"
30 #include "webrtc/pc/channelmanager.h" 31 #include "webrtc/pc/channelmanager.h"
31 #include "webrtc/pc/srtpfilter.h" 32 #include "webrtc/pc/srtpfilter.h"
(...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_VIDEO)); 2169 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_VIDEO));
2169 } 2170 }
2170 2171
2171 DataContentDescription* GetFirstDataContentDescription( 2172 DataContentDescription* GetFirstDataContentDescription(
2172 SessionDescription* sdesc) { 2173 SessionDescription* sdesc) {
2173 return static_cast<DataContentDescription*>( 2174 return static_cast<DataContentDescription*>(
2174 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_DATA)); 2175 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_DATA));
2175 } 2176 }
2176 2177
2177 } // namespace cricket 2178 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/turnport.cc ('k') | webrtc/pc/webrtcsdp.cc » ('j') | webrtc/pc/webrtcsdp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698