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