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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 : false; | 157 : false; |
158 } | 158 } |
159 | 159 |
160 // TransportChannelImpl calls. | 160 // TransportChannelImpl calls. |
161 TransportChannelState GetState() const override { | 161 TransportChannelState GetState() const override { |
162 return channel_->GetState(); | 162 return channel_->GetState(); |
163 } | 163 } |
164 void SetIceTiebreaker(uint64_t tiebreaker) override { | 164 void SetIceTiebreaker(uint64_t tiebreaker) override { |
165 channel_->SetIceTiebreaker(tiebreaker); | 165 channel_->SetIceTiebreaker(tiebreaker); |
166 } | 166 } |
167 void SetIceCredentials(const std::string& ice_ufrag, | 167 void SetIceParameters(const IceParameters& ice_params) override { |
168 const std::string& ice_pwd) override { | 168 channel_->SetIceParameters(ice_params); |
169 channel_->SetIceCredentials(ice_ufrag, ice_pwd); | |
170 } | 169 } |
171 void SetRemoteIceCredentials(const std::string& ice_ufrag, | 170 void SetRemoteIceParameters(const IceParameters& ice_params) override { |
172 const std::string& ice_pwd) override { | 171 channel_->SetRemoteIceParameters(ice_params); |
173 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); | |
174 } | 172 } |
175 void SetRemoteIceMode(IceMode mode) override { | 173 void SetRemoteIceMode(IceMode mode) override { |
176 channel_->SetRemoteIceMode(mode); | 174 channel_->SetRemoteIceMode(mode); |
177 } | 175 } |
178 | 176 |
179 void MaybeStartGathering() override { channel_->MaybeStartGathering(); } | 177 void MaybeStartGathering() override { channel_->MaybeStartGathering(); } |
180 | 178 |
181 IceGatheringState gathering_state() const override { | 179 IceGatheringState gathering_state() const override { |
182 return channel_->gathering_state(); | 180 return channel_->gathering_state(); |
183 } | 181 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // transport channel became writable, or before a remote fingerprint was | 238 // transport channel became writable, or before a remote fingerprint was |
241 // received. | 239 // received. |
242 rtc::Buffer cached_client_hello_; | 240 rtc::Buffer cached_client_hello_; |
243 | 241 |
244 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 242 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
245 }; | 243 }; |
246 | 244 |
247 } // namespace cricket | 245 } // namespace cricket |
248 | 246 |
249 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 247 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
OLD | NEW |