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 } |
185 void SetRemoteIceCredentials(const std::string& ice_ufrag, | 191 void SetRemoteIceCredentials(const std::string& ice_ufrag, |
186 const std::string& ice_pwd) override { | 192 const std::string& ice_pwd) override { |
187 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); | 193 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); |
188 } | 194 } |
189 void SetRemoteIceMode(IceMode mode) override { | 195 void SetRemoteIceMode(IceMode mode) override { |
190 channel_->SetRemoteIceMode(mode); | 196 channel_->SetRemoteIceMode(mode); |
191 } | 197 } |
192 | 198 |
193 void Connect() override; | 199 void Connect() override; |
194 | 200 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 rtc::SSLProtocolVersion ssl_max_version_; | 242 rtc::SSLProtocolVersion ssl_max_version_; |
237 rtc::Buffer remote_fingerprint_value_; | 243 rtc::Buffer remote_fingerprint_value_; |
238 std::string remote_fingerprint_algorithm_; | 244 std::string remote_fingerprint_algorithm_; |
239 | 245 |
240 DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 246 DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
241 }; | 247 }; |
242 | 248 |
243 } // namespace cricket | 249 } // namespace cricket |
244 | 250 |
245 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 251 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
OLD | NEW |