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

Unified Diff: webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h

Issue 2643133003: Instantly pass network changes to controllers in audio network adaptor. (Closed)
Patch Set: fixing unittests Created 3 years, 11 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
« no previous file with comments | « webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h
index 21acadd24848bd451565cbd7c7a594295d338d2c..2b8dc9e5ee12b0690771443af39974c341991556 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_controller.h
@@ -20,9 +20,10 @@ class MockController : public Controller {
public:
virtual ~MockController() { Die(); }
MOCK_METHOD0(Die, void());
- MOCK_METHOD2(MakeDecision,
- void(const NetworkMetrics& metrics,
- AudioNetworkAdaptor::EncoderRuntimeConfig* config));
+ MOCK_METHOD1(UpdateNetworkMetrics,
+ void(const NetworkMetrics& network_metrics));
+ MOCK_METHOD1(MakeDecision,
+ void(AudioNetworkAdaptor::EncoderRuntimeConfig* config));
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698