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

Unified Diff: webrtc/call/mock/mock_congestion_controller.h

Issue 1704983002: Simplify CongestionController. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/call/mock/mock_congestion_controller.h
diff --git a/webrtc/call/mock/mock_congestion_controller.h b/webrtc/call/mock/mock_congestion_controller.h
index 1eb7e93017cdf449f2013e60e6770e7e7f39cb0b..08b12a4bdcc539cd94f4e2b4537fb2577ab805f9 100644
--- a/webrtc/call/mock/mock_congestion_controller.h
+++ b/webrtc/call/mock/mock_congestion_controller.h
@@ -21,13 +21,9 @@ namespace test {
class MockCongestionController : public CongestionController {
public:
MockCongestionController(Clock* clock,
- ProcessThread* process_thread,
- CallStats* call_stats,
BitrateObserver* bitrate_observer,
RemoteBitrateObserver* remote_bitrate_observer)
: CongestionController(clock,
- process_thread,
- call_stats,
bitrate_observer,
remote_bitrate_observer) {}
MOCK_METHOD3(SetBweBitrates,
@@ -36,11 +32,11 @@ class MockCongestionController : public CongestionController {
int max_bitrate_bps));
MOCK_METHOD1(SignalNetworkState, void(NetworkState state));
MOCK_CONST_METHOD0(GetBitrateController, BitrateController*());
- MOCK_CONST_METHOD1(GetRemoteBitrateEstimator,
+ MOCK_METHOD1(GetRemoteBitrateEstimator,
RemoteBitrateEstimator*(bool send_side_bwe));
MOCK_CONST_METHOD0(GetPacerQueuingDelayMs, int64_t());
- MOCK_CONST_METHOD0(pacer, PacedSender*());
- MOCK_CONST_METHOD0(packet_router, PacketRouter*());
+ MOCK_METHOD0(pacer, PacedSender*());
+ MOCK_METHOD0(packet_router, PacketRouter*());
MOCK_METHOD0(GetTransportFeedbackObserver, TransportFeedbackObserver*());
MOCK_METHOD3(UpdatePacerBitrate,
void(int bitrate_kbps,
« no previous file with comments | « webrtc/call/congestion_controller.cc ('k') | webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698