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

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
« no previous file with comments | « webrtc/p2p/base/faketransportcontroller.h ('k') | webrtc/p2p/base/transport.h » ('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 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 GetSrtpCryptoSuite(std::string* cipher) override { return false; }
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 GetSslCipherSuite(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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 int receiving_timeout_; 251 int receiving_timeout_;
252 uint32 last_ping_sent_ms_ = 0; 252 uint32 last_ping_sent_ms_ = 0;
253 bool gather_continually_ = false; 253 bool gather_continually_ = false;
254 254
255 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 255 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
256 }; 256 };
257 257
258 } // namespace cricket 258 } // namespace cricket
259 259
260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/faketransportcontroller.h ('k') | webrtc/p2p/base/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698