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

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

Issue 2094863003: Reland of "Revert of Update the BWE when the network route changes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 5 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/candidatepairinterface.h ('k') | webrtc/p2p/base/port.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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 public: 469 public:
470 FakeCandidatePair(const Candidate& local_candidate, 470 FakeCandidatePair(const Candidate& local_candidate,
471 const Candidate& remote_candidate) 471 const Candidate& remote_candidate)
472 : local_candidate_(local_candidate), 472 : local_candidate_(local_candidate),
473 remote_candidate_(remote_candidate) {} 473 remote_candidate_(remote_candidate) {}
474 const Candidate& local_candidate() const override { return local_candidate_; } 474 const Candidate& local_candidate() const override { return local_candidate_; }
475 const Candidate& remote_candidate() const override { 475 const Candidate& remote_candidate() const override {
476 return remote_candidate_; 476 return remote_candidate_;
477 } 477 }
478 478
479 bool ReadyToSendMedia() const override { return true; }
480
479 private: 481 private:
480 Candidate local_candidate_; 482 Candidate local_candidate_;
481 Candidate remote_candidate_; 483 Candidate remote_candidate_;
482 }; 484 };
483 485
484 // Fake TransportController class, which can be passed into a BaseChannel object 486 // Fake TransportController class, which can be passed into a BaseChannel object
485 // for test purposes. Can be connected to other FakeTransportControllers via 487 // for test purposes. Can be connected to other FakeTransportControllers via
486 // Connect(). 488 // Connect().
487 // 489 //
488 // This fake is unusual in that for the most part, it's implemented with the 490 // This fake is unusual in that for the most part, it's implemented with the
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 } 585 }
584 } 586 }
585 587
586 private: 588 private:
587 bool fail_create_channel_; 589 bool fail_create_channel_;
588 }; 590 };
589 591
590 } // namespace cricket 592 } // namespace cricket
591 593
592 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ 594 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/candidatepairinterface.h ('k') | webrtc/p2p/base/port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698