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

Unified Diff: webrtc/modules/utility/include/mock/mock_process_thread.h

Issue 2729053002: Add location to RegisterModule (Closed)
Patch Set: Format BUILD.gn Created 3 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/utility/include/mock/mock_process_thread.h
diff --git a/webrtc/modules/utility/include/mock/mock_process_thread.h b/webrtc/modules/utility/include/mock/mock_process_thread.h
index 6625a74b64e552e8187b370da98bd58a61ca0c4f..4d24033ff988e7d972b82c3bdd0bbc4113394cd0 100644
--- a/webrtc/modules/utility/include/mock/mock_process_thread.h
+++ b/webrtc/modules/utility/include/mock/mock_process_thread.h
@@ -13,8 +13,8 @@
#include <memory>
+#include "webrtc/base/location.h"
#include "webrtc/modules/utility/include/process_thread.h"
-
#include "webrtc/test/gmock.h"
namespace webrtc {
@@ -29,7 +29,7 @@ class MockProcessThread : public ProcessThread {
MOCK_METHOD0(Stop, void());
MOCK_METHOD1(WakeUp, void(Module* module));
MOCK_METHOD1(PostTask, void(rtc::QueuedTask* task));
- MOCK_METHOD1(RegisterModule, void(Module* module));
+ MOCK_METHOD2(RegisterModule, void(Module* module, const rtc::Location&));
MOCK_METHOD1(DeRegisterModule, void(Module* module));
// MOCK_METHOD1 gets confused with mocking this method, so we work around it
« no previous file with comments | « webrtc/modules/audio_device/test/audio_device_test_api.cc ('k') | webrtc/modules/utility/include/process_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698