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

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

Issue 2098703004: Revert of Revert "Revert of Update the BWE when the network route changes. (patchset #5 id:180001 of https://… (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
481 private: 479 private:
482 Candidate local_candidate_; 480 Candidate local_candidate_;
483 Candidate remote_candidate_; 481 Candidate remote_candidate_;
484 }; 482 };
485 483
486 // Fake TransportController class, which can be passed into a BaseChannel object 484 // Fake TransportController class, which can be passed into a BaseChannel object
487 // for test purposes. Can be connected to other FakeTransportControllers via 485 // for test purposes. Can be connected to other FakeTransportControllers via
488 // Connect(). 486 // Connect().
489 // 487 //
490 // This fake is unusual in that for the most part, it's implemented with the 488 // 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
585 } 583 }
586 } 584 }
587 585
588 private: 586 private:
589 bool fail_create_channel_; 587 bool fail_create_channel_;
590 }; 588 };
591 589
592 } // namespace cricket 590 } // namespace cricket
593 591
594 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ 592 #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