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

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

Issue 1458023002: Reland Convert internal representation of Srtp cryptos from string to int (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 1 month 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // DTLS methods. 102 // DTLS methods.
103 bool IsDtlsActive() const override { return false; } 103 bool IsDtlsActive() const override { return false; }
104 104
105 // Default implementation. 105 // Default implementation.
106 bool GetSslRole(rtc::SSLRole* role) const override { return false; } 106 bool GetSslRole(rtc::SSLRole* role) const override { return false; }
107 107
108 bool SetSslRole(rtc::SSLRole role) override { return false; } 108 bool SetSslRole(rtc::SSLRole role) override { return false; }
109 109
110 // Set up the ciphers to use for DTLS-SRTP. 110 // Set up the ciphers to use for DTLS-SRTP.
111 bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override { 111 bool SetSrtpCryptoSuites(const std::vector<int>& ciphers) override {
112 return false; 112 return false;
113 } 113 }
114 114
115 // Find out which DTLS-SRTP cipher was negotiated. 115 // Find out which DTLS-SRTP cipher was negotiated.
116 bool GetSrtpCryptoSuite(std::string* cipher) override { return false; } 116 bool GetSrtpCryptoSuite(int* cipher) override { return false; }
117 117
118 // Find out which DTLS cipher was negotiated. 118 // Find out which DTLS cipher was negotiated.
119 bool GetSslCipherSuite(int* cipher) override { return false; } 119 bool GetSslCipherSuite(int* cipher) override { return false; }
120 120
121 // Returns null because the channel is not encrypted by default. 121 // Returns null because the channel is not encrypted by default.
122 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override { 122 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override {
123 return nullptr; 123 return nullptr;
124 } 124 }
125 125
126 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override { 126 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 uint32_t last_ping_sent_ms_ = 0; 259 uint32_t last_ping_sent_ms_ = 0;
260 bool gather_continually_ = false; 260 bool gather_continually_ = false;
261 int weak_ping_delay_ = WEAK_PING_DELAY; 261 int weak_ping_delay_ = WEAK_PING_DELAY;
262 262
263 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 263 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
264 }; 264 };
265 265
266 } // namespace cricket 266 } // namespace cricket
267 267
268 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 268 #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