| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2009 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 kv.second->set_ssl_max_protocol_version(ssl_max_version_); | 399 kv.second->set_ssl_max_protocol_version(ssl_max_version_); |
| 400 } | 400 } |
| 401 return true; | 401 return true; |
| 402 } | 402 } |
| 403 rtc::SSLProtocolVersion ssl_max_protocol_version() const { | 403 rtc::SSLProtocolVersion ssl_max_protocol_version() const { |
| 404 return ssl_max_version_; | 404 return ssl_max_version_; |
| 405 } | 405 } |
| 406 | 406 |
| 407 using Transport::local_description; | 407 using Transport::local_description; |
| 408 using Transport::remote_description; | 408 using Transport::remote_description; |
| 409 using Transport::VerifyCertificateFingerprint; |
| 410 using Transport::NegotiateRole; |
| 409 | 411 |
| 410 protected: | 412 protected: |
| 411 TransportChannelImpl* CreateTransportChannel(int component) override { | 413 TransportChannelImpl* CreateTransportChannel(int component) override { |
| 412 if (channels_.find(component) != channels_.end()) { | 414 if (channels_.find(component) != channels_.end()) { |
| 413 return nullptr; | 415 return nullptr; |
| 414 } | 416 } |
| 415 FakeTransportChannel* channel = new FakeTransportChannel(name(), component); | 417 FakeTransportChannel* channel = new FakeTransportChannel(name(), component); |
| 416 channel->set_ssl_max_protocol_version(ssl_max_version_); | 418 channel->set_ssl_max_protocol_version(ssl_max_version_); |
| 417 channel->SetAsync(async_); | 419 channel->SetAsync(async_); |
| 418 SetChannelDestination(component, channel); | 420 SetChannelDestination(component, channel); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 } | 574 } |
| 573 } | 575 } |
| 574 | 576 |
| 575 private: | 577 private: |
| 576 bool fail_create_channel_; | 578 bool fail_create_channel_; |
| 577 }; | 579 }; |
| 578 | 580 |
| 579 } // namespace cricket | 581 } // namespace cricket |
| 580 | 582 |
| 581 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ | 583 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ |
| OLD | NEW |