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