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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/protocol_mock_objects.h" 5 #include "remoting/protocol/protocol_mock_objects.h"
6 6
7 #include "base/message_loop_proxy.h"
8
7 namespace remoting { 9 namespace remoting {
8 namespace protocol { 10 namespace protocol {
9 11
10 MockConnectionToClient::MockConnectionToClient(MessageLoop* message_loop, 12 MockConnectionToClient::MockConnectionToClient(
11 EventHandler* handler, 13 EventHandler* handler,
12 HostStub* host_stub, 14 HostStub* host_stub,
13 InputStub* input_stub) 15 InputStub* input_stub)
14 : ConnectionToClient(message_loop, handler) { 16 : ConnectionToClient(base::MessageLoopProxy::CreateForCurrentThread(),
17 handler) {
15 set_host_stub(host_stub); 18 set_host_stub(host_stub);
16 set_input_stub(input_stub); 19 set_input_stub(input_stub);
17 } 20 }
18 21
19 MockConnectionToClient::~MockConnectionToClient() {} 22 MockConnectionToClient::~MockConnectionToClient() {}
20 23
21 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 24 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
22 25
23 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} 26 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
24 27
(...skipping 12 matching lines...) Expand all
37 MockVideoStub::MockVideoStub() {} 40 MockVideoStub::MockVideoStub() {}
38 41
39 MockVideoStub::~MockVideoStub() {} 42 MockVideoStub::~MockVideoStub() {}
40 43
41 MockSession::MockSession() {} 44 MockSession::MockSession() {}
42 45
43 MockSession::~MockSession() {} 46 MockSession::~MockSession() {}
44 47
45 } // namespace protocol 48 } // namespace protocol
46 } // namespace remoting 49 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698