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

Side by Side Diff: remoting/host/host_mock_objects.cc

Issue 10829467: [Chromoting] Introducing refcount-based life time management of the message loops in the service (d… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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
« no previous file with comments | « remoting/host/constants.h ('k') | remoting/host/plugin/host_script_object.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/host/host_mock_objects.h" 5 #include "remoting/host/host_mock_objects.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "remoting/base/auto_thread_task_runner.h"
9 #include "remoting/base/capture_data.h" 10 #include "remoting/base/capture_data.h"
10 #include "remoting/proto/event.pb.h" 11 #include "remoting/proto/event.pb.h"
11 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 MockVideoFrameCapturer::MockVideoFrameCapturer() {} 16 MockVideoFrameCapturer::MockVideoFrameCapturer() {}
16 17
17 MockVideoFrameCapturer::~MockVideoFrameCapturer() {} 18 MockVideoFrameCapturer::~MockVideoFrameCapturer() {}
18 19
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 53
53 MockLocalInputMonitor::MockLocalInputMonitor() {} 54 MockLocalInputMonitor::MockLocalInputMonitor() {}
54 55
55 MockLocalInputMonitor::~MockLocalInputMonitor() {} 56 MockLocalInputMonitor::~MockLocalInputMonitor() {}
56 57
57 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { 58 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() {
58 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor()); 59 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor());
59 } 60 }
60 61
61 MockChromotingHostContext::MockChromotingHostContext() 62 MockChromotingHostContext::MockChromotingHostContext()
62 : ChromotingHostContext(base::MessageLoopProxy::current()) { 63 : ChromotingHostContext(new AutoThreadTaskRunner(
64 base::MessageLoopProxy::current())) {
63 } 65 }
64 66
65 MockChromotingHostContext::~MockChromotingHostContext() {} 67 MockChromotingHostContext::~MockChromotingHostContext() {}
66 68
67 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 69 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
68 70
69 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 71 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
70 72
71 MockHostStatusObserver::MockHostStatusObserver() {} 73 MockHostStatusObserver::MockHostStatusObserver() {}
72 74
73 MockHostStatusObserver::~MockHostStatusObserver() {} 75 MockHostStatusObserver::~MockHostStatusObserver() {}
74 76
75 MockUserAuthenticator::MockUserAuthenticator() {} 77 MockUserAuthenticator::MockUserAuthenticator() {}
76 78
77 MockUserAuthenticator::~MockUserAuthenticator() {} 79 MockUserAuthenticator::~MockUserAuthenticator() {}
78 80
79 } // namespace remoting 81 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/constants.h ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698