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

Unified Diff: remoting/protocol/protocol_mock_objects.cc

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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/protocol/protocol_mock_objects.h ('k') | remoting/protocol/protocol_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protocol_mock_objects.cc
diff --git a/remoting/protocol/protocol_mock_objects.cc b/remoting/protocol/protocol_mock_objects.cc
index 316dd01aedace95958251e1464af5769740f02b8..34766c31a7a56703c54c2a1f356ae6727a28c1aa 100644
--- a/remoting/protocol/protocol_mock_objects.cc
+++ b/remoting/protocol/protocol_mock_objects.cc
@@ -4,14 +4,17 @@
#include "remoting/protocol/protocol_mock_objects.h"
+#include "base/message_loop_proxy.h"
+
namespace remoting {
namespace protocol {
-MockConnectionToClient::MockConnectionToClient(MessageLoop* message_loop,
- EventHandler* handler,
- HostStub* host_stub,
- InputStub* input_stub)
- : ConnectionToClient(message_loop, handler) {
+MockConnectionToClient::MockConnectionToClient(
+ EventHandler* handler,
+ HostStub* host_stub,
+ InputStub* input_stub)
+ : ConnectionToClient(base::MessageLoopProxy::CreateForCurrentThread(),
+ handler) {
set_host_stub(host_stub);
set_input_stub(input_stub);
}
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/protocol_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698