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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; } |
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(rtc::SslCipher* 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 Loading... |
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_ |
OLD | NEW |