OLD | NEW |
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 Loading... |
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 |
76 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 83 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
77 | 84 |
78 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 85 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
79 | 86 |
80 MockHostStatusObserver::MockHostStatusObserver() {} | 87 MockHostStatusObserver::MockHostStatusObserver() {} |
81 | 88 |
82 MockHostStatusObserver::~MockHostStatusObserver() {} | 89 MockHostStatusObserver::~MockHostStatusObserver() {} |
83 | 90 |
84 } // namespace remoting | 91 } // namespace remoting |
OLD | NEW |