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

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

Issue 8495035: Make ConnectionToClient and ClientSession not ref-counted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - 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/jingle_session_unittest.cc ('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 Session* session, 13 Session* session,
14 HostStub* host_stub, 14 HostStub* host_stub,
15 InputStub* input_stub) 15 InputStub* input_stub)
16 : ConnectionToClient(base::MessageLoopProxy::current(), session) { 16 : ConnectionToClient(session) {
17 set_host_stub(host_stub); 17 set_host_stub(host_stub);
18 set_input_stub(input_stub); 18 set_input_stub(input_stub);
19 } 19 }
20 20
21 MockConnectionToClient::~MockConnectionToClient() {} 21 MockConnectionToClient::~MockConnectionToClient() {}
22 22
23 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 23 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
24 24
25 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} 25 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
26 26
(...skipping 12 matching lines...) Expand all
39 MockVideoStub::MockVideoStub() {} 39 MockVideoStub::MockVideoStub() {}
40 40
41 MockVideoStub::~MockVideoStub() {} 41 MockVideoStub::~MockVideoStub() {}
42 42
43 MockSession::MockSession() {} 43 MockSession::MockSession() {}
44 44
45 MockSession::~MockSession() {} 45 MockSession::~MockSession() {}
46 46
47 } // namespace protocol 47 } // namespace protocol
48 } // namespace remoting 48 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698