OLD | NEW |
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override { | 108 bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override { |
109 return false; | 109 return false; |
110 } | 110 } |
111 | 111 |
112 // Find out which DTLS-SRTP cipher was negotiated. | 112 // Find out which DTLS-SRTP cipher was negotiated. |
113 bool GetSrtpCipher(std::string* cipher) override { | 113 bool GetSrtpCipher(std::string* cipher) override { |
114 return false; | 114 return false; |
115 } | 115 } |
116 | 116 |
117 // Find out which DTLS cipher was negotiated. | 117 // Find out which DTLS cipher was negotiated. |
118 bool GetSslCipher(std::string* cipher) override { | 118 bool GetSslCipher(rtc::SslCipher* cipher) override { return false; } |
119 return false; | |
120 } | |
121 | 119 |
122 // Returns null because the channel is not encrypted by default. | 120 // Returns null because the channel is not encrypted by default. |
123 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override { | 121 rtc::scoped_refptr<rtc::RTCCertificate> GetLocalCertificate() const override { |
124 return nullptr; | 122 return nullptr; |
125 } | 123 } |
126 | 124 |
127 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override { | 125 bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override { |
128 return false; | 126 return false; |
129 } | 127 } |
130 | 128 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 249 |
252 int check_receiving_delay_; | 250 int check_receiving_delay_; |
253 int receiving_timeout_; | 251 int receiving_timeout_; |
254 | 252 |
255 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); | 253 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); |
256 }; | 254 }; |
257 | 255 |
258 } // namespace cricket | 256 } // namespace cricket |
259 | 257 |
260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ | 258 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ |
OLD | NEW |