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

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

Issue 1919133002: Simple lint fixes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/pc/mediasession.h ('k') | webrtc/pc/mediasession_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 28 matching lines...) Expand all
39 void GetSupportedCryptoSuiteNames(void (*func)(std::vector<int>*), 39 void GetSupportedCryptoSuiteNames(void (*func)(std::vector<int>*),
40 std::vector<std::string>* names) { 40 std::vector<std::string>* names) {
41 #ifdef HAVE_SRTP 41 #ifdef HAVE_SRTP
42 std::vector<int> crypto_suites; 42 std::vector<int> crypto_suites;
43 func(&crypto_suites); 43 func(&crypto_suites);
44 for (const auto crypto : crypto_suites) { 44 for (const auto crypto : crypto_suites) {
45 names->push_back(rtc::SrtpCryptoSuiteToName(crypto)); 45 names->push_back(rtc::SrtpCryptoSuiteToName(crypto));
46 } 46 }
47 #endif 47 #endif
48 } 48 }
49 } 49 } // namespace
50 50
51 namespace cricket { 51 namespace cricket {
52 52
53 53
54 // RTP Profile names 54 // RTP Profile names
55 // http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xml 55 // http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xml
56 // RFC4585 56 // RFC4585
57 const char kMediaProtocolAvpf[] = "RTP/AVPF"; 57 const char kMediaProtocolAvpf[] = "RTP/AVPF";
58 // RFC5124 58 // RFC5124
59 const char kMediaProtocolDtlsSavpf[] = "UDP/TLS/RTP/SAVPF"; 59 const char kMediaProtocolDtlsSavpf[] = "UDP/TLS/RTP/SAVPF";
(...skipping 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_VIDEO)); 2004 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_VIDEO));
2005 } 2005 }
2006 2006
2007 const DataContentDescription* GetFirstDataContentDescription( 2007 const DataContentDescription* GetFirstDataContentDescription(
2008 const SessionDescription* sdesc) { 2008 const SessionDescription* sdesc) {
2009 return static_cast<const DataContentDescription*>( 2009 return static_cast<const DataContentDescription*>(
2010 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_DATA)); 2010 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_DATA));
2011 } 2011 }
2012 2012
2013 } // namespace cricket 2013 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/pc/mediasession.h ('k') | webrtc/pc/mediasession_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698