| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 GetSrtpCipherByRfcName(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(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 Loading... |
| 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_ |
| OLD | NEW |