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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 TransportChannelState GetState() const override { | 175 TransportChannelState GetState() const override { |
176 return channel_->GetState(); | 176 return channel_->GetState(); |
177 } | 177 } |
178 void SetIceTiebreaker(uint64 tiebreaker) override { | 178 void SetIceTiebreaker(uint64 tiebreaker) override { |
179 channel_->SetIceTiebreaker(tiebreaker); | 179 channel_->SetIceTiebreaker(tiebreaker); |
180 } | 180 } |
181 void SetIceCredentials(const std::string& ice_ufrag, | 181 void SetIceCredentials(const std::string& ice_ufrag, |
182 const std::string& ice_pwd) override { | 182 const std::string& ice_pwd) override { |
183 channel_->SetIceCredentials(ice_ufrag, ice_pwd); | 183 channel_->SetIceCredentials(ice_ufrag, ice_pwd); |
184 } | 184 } |
185 bool GetIceProtocolType(IceProtocolType* type) const override { | |
186 return channel_->GetIceProtocolType(type); | |
187 } | |
188 void SetIceProtocolType(IceProtocolType type) override { | |
189 channel_->SetIceProtocolType(type); | |
190 } | |
191 void SetRemoteIceCredentials(const std::string& ice_ufrag, | 185 void SetRemoteIceCredentials(const std::string& ice_ufrag, |
192 const std::string& ice_pwd) override { | 186 const std::string& ice_pwd) override { |
193 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); | 187 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); |
194 } | 188 } |
195 void SetRemoteIceMode(IceMode mode) override { | 189 void SetRemoteIceMode(IceMode mode) override { |
196 channel_->SetRemoteIceMode(mode); | 190 channel_->SetRemoteIceMode(mode); |
197 } | 191 } |
198 | 192 |
199 void Connect() override; | 193 void Connect() override; |
200 | 194 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 rtc::SSLProtocolVersion ssl_max_version_; | 236 rtc::SSLProtocolVersion ssl_max_version_; |
243 rtc::Buffer remote_fingerprint_value_; | 237 rtc::Buffer remote_fingerprint_value_; |
244 std::string remote_fingerprint_algorithm_; | 238 std::string remote_fingerprint_algorithm_; |
245 | 239 |
246 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 240 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
247 }; | 241 }; |
248 | 242 |
249 } // namespace cricket | 243 } // namespace cricket |
250 | 244 |
251 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 245 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
OLD | NEW |