Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: webrtc/p2p/base/faketransportcontroller.h

Issue 1856943002: Allow TransportController to create a QuicTransportChannel (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Sync to upstream Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/p2p/base/dtlstransport.h ('k') | webrtc/p2p/base/transport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransport.h ('k') | webrtc/p2p/base/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698