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

Unified Diff: remoting/host/host_mock_objects.h

Issue 10572005: Use SingleThreadTaskRunner instead of MessageLoopProxy in remoting/host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « remoting/host/desktop_environment.cc ('k') | remoting/host/host_user_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index e7bebd19e40da0aa29b0278f2b789ecc3d6dc704..f061cd24b3ab5b9746e8b71a020d5bda257bfc8b 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -89,11 +89,11 @@ class MockChromotingHostContext : public ChromotingHostContext {
MOCK_METHOD0(Start, bool());
MOCK_METHOD0(Stop, void());
MOCK_METHOD0(jingle_thread, JingleThread*());
- MOCK_METHOD0(io_message_loop, base::MessageLoopProxy*());
- MOCK_METHOD0(ui_message_loop, base::MessageLoopProxy*());
- MOCK_METHOD0(main_message_loop, MessageLoop*());
- MOCK_METHOD0(encode_message_loop, MessageLoop*());
- MOCK_METHOD0(network_message_loop, base::MessageLoopProxy*());
+ MOCK_METHOD0(ui_task_runner, base::SingleThreadTaskRunner*());
+ MOCK_METHOD0(capture_task_runner, base::SingleThreadTaskRunner*());
+ MOCK_METHOD0(encode_task_runner, base::SingleThreadTaskRunner*());
+ MOCK_METHOD0(network_task_runner, base::SingleThreadTaskRunner*());
+ MOCK_METHOD0(io_task_runner, base::SingleThreadTaskRunner*());
private:
DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext);
« no previous file with comments | « remoting/host/desktop_environment.cc ('k') | remoting/host/host_user_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698