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

Side by Side Diff: webrtc/p2p/base/p2ptransportchannel.h

Issue 1337673002: Change WebRTC SslCipher to be exposed as number only. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 2 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
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool GetSslRole(rtc::SSLRole* role) const override { return false; } 104 bool GetSslRole(rtc::SSLRole* role) const override { return false; }
105 105
106 bool SetSslRole(rtc::SSLRole role) override { return false; } 106 bool SetSslRole(rtc::SSLRole role) override { return false; }
107 107
108 // Set up the ciphers to use for DTLS-SRTP. 108 // Set up the ciphers to use for DTLS-SRTP.
109 bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override { 109 bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override {
110 return false; 110 return false;
111 } 111 }
112 112
113 // Find out which DTLS-SRTP cipher was negotiated. 113 // Find out which DTLS-SRTP cipher was negotiated.
114 bool GetSrtpCipher(std::string* cipher) override { return false; } 114 bool GetSrtpCipher(std::string* cipher) override { return false; }
pthatcher1 2015/09/29 22:25:17 If we're going to change the SslCipher to an int r
guoweis_webrtc 2015/09/30 04:09:47 Changing srtp is probably more work. GetSrtpCipher
115 115
116 // Find out which DTLS cipher was negotiated. 116 // Find out which DTLS cipher was negotiated.
117 bool GetSslCipher(std::string* cipher) override { return false; } 117 bool GetSslCipher(uint16_t* cipher) override { return false; }
118 118
119 // Returns null because the channel is not encrypted by default. 119 // Returns null because the channel is not encrypted by default.
120 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override { 120 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override {
121 return nullptr; 121 return nullptr;
122 } 122 }
123 123
124 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override { 124 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override {
125 return false; 125 return false;
126 } 126 }
127 127
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 int check_receiving_delay_; 249 int check_receiving_delay_;
250 int receiving_timeout_; 250 int receiving_timeout_;
251 251
252 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 252 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
253 }; 253 };
254 254
255 } // namespace cricket 255 } // namespace cricket
256 256
257 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 257 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698