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

Unified Diff: webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h

Issue 1663413003: Clean up of 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/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h
diff --git a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h
index 91a8ac8707b5b19e3275ef8538f82b346cdcca2b..8113cd4f4fb64eef4c9da9942506183876b9905f 100644
--- a/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h
+++ b/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h
@@ -18,6 +18,13 @@
namespace webrtc {
+class MockRemoteBitrateObserver : public RemoteBitrateObserver {
+ public:
+ MOCK_METHOD2(OnReceiveBitrateChanged,
+ void(const std::vector<unsigned int>& ssrcs,
+ unsigned int bitrate));
the sun 2016/02/05 15:12:37 do we want this to be a uint32_t instead?
stefan-webrtc 2016/02/07 18:29:27 Yep, I'll make that change too.
+};
+
class MockRemoteBitrateEstimator : public RemoteBitrateEstimator {
public:
MOCK_METHOD1(IncomingPacketFeedbackVector,

Powered by Google App Engine
This is Rietveld 408576698