| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 return channel_->gathering_state(); | 179 return channel_->gathering_state(); |
| 180 } | 180 } |
| 181 | 181 |
| 182 void AddRemoteCandidate(const Candidate& candidate) override { | 182 void AddRemoteCandidate(const Candidate& candidate) override { |
| 183 channel_->AddRemoteCandidate(candidate); | 183 channel_->AddRemoteCandidate(candidate); |
| 184 } | 184 } |
| 185 void RemoveRemoteCandidate(const Candidate& candidate) override { | 185 void RemoveRemoteCandidate(const Candidate& candidate) override { |
| 186 channel_->RemoveRemoteCandidate(candidate); | 186 channel_->RemoveRemoteCandidate(candidate); |
| 187 } | 187 } |
| 188 | 188 |
| 189 void SetMetricsObserver(webrtc::MetricsObserverInterface* observer) override { |
| 190 channel_->SetMetricsObserver(observer); |
| 191 } |
| 192 |
| 189 void SetIceConfig(const IceConfig& config) override { | 193 void SetIceConfig(const IceConfig& config) override { |
| 190 channel_->SetIceConfig(config); | 194 channel_->SetIceConfig(config); |
| 191 } | 195 } |
| 192 | 196 |
| 193 // Needed by DtlsTransport. | 197 // Needed by DtlsTransport. |
| 194 TransportChannelImpl* channel() { return channel_; } | 198 TransportChannelImpl* channel() { return channel_; } |
| 195 | 199 |
| 196 private: | 200 private: |
| 197 void OnReadableState(TransportChannel* channel); | 201 void OnReadableState(TransportChannel* channel); |
| 198 void OnWritableState(TransportChannel* channel); | 202 void OnWritableState(TransportChannel* channel); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // transport channel became writable, or before a remote fingerprint was | 242 // transport channel became writable, or before a remote fingerprint was |
| 239 // received. | 243 // received. |
| 240 rtc::Buffer cached_client_hello_; | 244 rtc::Buffer cached_client_hello_; |
| 241 | 245 |
| 242 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 246 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
| 243 }; | 247 }; |
| 244 | 248 |
| 245 } // namespace cricket | 249 } // namespace cricket |
| 246 | 250 |
| 247 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 251 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| OLD | NEW |