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