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

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

Issue 11412305: Use AutoThread in ChromotingHostContext & NPAPI plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('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/auto_thread_task_runner.h"
10 #include "remoting/base/capture_data.h" 10 #include "remoting/base/capture_data.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 MockLocalInputMonitor::MockLocalInputMonitor() {} 68 MockLocalInputMonitor::MockLocalInputMonitor() {}
69 69
70 MockLocalInputMonitor::~MockLocalInputMonitor() {} 70 MockLocalInputMonitor::~MockLocalInputMonitor() {}
71 71
72 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { 72 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() {
73 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor()); 73 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor());
74 } 74 }
75 75
76 MockChromotingHostContext::MockChromotingHostContext()
77 : ChromotingHostContext(new AutoThreadTaskRunner(
78 base::MessageLoopProxy::current())) {
79 }
80
81 MockChromotingHostContext::~MockChromotingHostContext() {}
82
83 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 76 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
84 77
85 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 78 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
86 79
87 MockHostStatusObserver::MockHostStatusObserver() {} 80 MockHostStatusObserver::MockHostStatusObserver() {}
88 81
89 MockHostStatusObserver::~MockHostStatusObserver() {} 82 MockHostStatusObserver::~MockHostStatusObserver() {}
90 83
91 } // namespace remoting 84 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698