| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 void Connect() override; | 193 void Connect() override; |
| 194 | 194 |
| 195 void OnSignalingReady() override { | 195 void OnSignalingReady() override { |
| 196 channel_->OnSignalingReady(); | 196 channel_->OnSignalingReady(); |
| 197 } | 197 } |
| 198 void OnCandidate(const Candidate& candidate) override { | 198 void OnCandidate(const Candidate& candidate) override { |
| 199 channel_->OnCandidate(candidate); | 199 channel_->OnCandidate(candidate); |
| 200 } | 200 } |
| 201 | 201 |
| 202 void SetReceivingTimeout(int receiving_timeout_ms) { | 202 void SetReceivingTimeout(int receiving_timeout_ms) override { |
| 203 channel_->SetReceivingTimeout(receiving_timeout_ms); | 203 channel_->SetReceivingTimeout(receiving_timeout_ms); |
| 204 } | 204 } |
| 205 | 205 |
| 206 // Needed by DtlsTransport. | 206 // Needed by DtlsTransport. |
| 207 TransportChannelImpl* channel() { return channel_; } | 207 TransportChannelImpl* channel() { return channel_; } |
| 208 | 208 |
| 209 private: | 209 private: |
| 210 void OnReadableState(TransportChannel* channel); | 210 void OnReadableState(TransportChannel* channel); |
| 211 void OnWritableState(TransportChannel* channel); | 211 void OnWritableState(TransportChannel* channel); |
| 212 void OnReadPacket(TransportChannel* channel, const char* data, size_t size, | 212 void OnReadPacket(TransportChannel* channel, const char* data, size_t size, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 236 rtc::SSLProtocolVersion ssl_max_version_; | 236 rtc::SSLProtocolVersion ssl_max_version_; |
| 237 rtc::Buffer remote_fingerprint_value_; | 237 rtc::Buffer remote_fingerprint_value_; |
| 238 std::string remote_fingerprint_algorithm_; | 238 std::string remote_fingerprint_algorithm_; |
| 239 | 239 |
| 240 DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 240 DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace cricket | 243 } // namespace cricket |
| 244 | 244 |
| 245 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 245 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| OLD | NEW |