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

Side by Side Diff: remoting/protocol/protocol_mock_objects.cc

Issue 8476018: Move ConnectionToClient::EventHandler from ChromotingHost to ClientSession (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 1 month 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
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" 7 #include "base/message_loop_proxy.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 namespace protocol { 10 namespace protocol {
11 11
12 MockConnectionToClient::MockConnectionToClient( 12 MockConnectionToClient::MockConnectionToClient(
13 EventHandler* handler, 13 Session* session,
14 HostStub* host_stub, 14 HostStub* host_stub,
15 InputStub* input_stub) 15 InputStub* input_stub)
16 : ConnectionToClient(base::MessageLoopProxy::current(), 16 : ConnectionToClient(base::MessageLoopProxy::current(), session) {
17 handler) {
18 set_host_stub(host_stub); 17 set_host_stub(host_stub);
19 set_input_stub(input_stub); 18 set_input_stub(input_stub);
20 } 19 }
21 20
22 MockConnectionToClient::~MockConnectionToClient() {} 21 MockConnectionToClient::~MockConnectionToClient() {}
23 22
24 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 23 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
25 24
26 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} 25 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
27 26
(...skipping 12 matching lines...) Expand all
40 MockVideoStub::MockVideoStub() {} 39 MockVideoStub::MockVideoStub() {}
41 40
42 MockVideoStub::~MockVideoStub() {} 41 MockVideoStub::~MockVideoStub() {}
43 42
44 MockSession::MockSession() {} 43 MockSession::MockSession() {}
45 44
46 MockSession::~MockSession() {} 45 MockSession::~MockSession() {}
47 46
48 } // namespace protocol 47 } // namespace protocol
49 } // namespace remoting 48 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698