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/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
10 #include "remoting/base/auto_thread_task_runner.h" | 10 #include "remoting/base/auto_thread_task_runner.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 scoped_ptr<ScreenControls> MockDesktopEnvironment::CreateScreenControls() { | 33 scoped_ptr<ScreenControls> MockDesktopEnvironment::CreateScreenControls() { |
34 return scoped_ptr<ScreenControls>(CreateScreenControlsPtr()); | 34 return scoped_ptr<ScreenControls>(CreateScreenControlsPtr()); |
35 } | 35 } |
36 | 36 |
37 scoped_ptr<webrtc::ScreenCapturer> | 37 scoped_ptr<webrtc::ScreenCapturer> |
38 MockDesktopEnvironment::CreateVideoCapturer() { | 38 MockDesktopEnvironment::CreateVideoCapturer() { |
39 return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr()); | 39 return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr()); |
40 } | 40 } |
41 | 41 |
| 42 scoped_ptr<webrtc::MouseCursorMonitor> |
| 43 MockDesktopEnvironment::CreateMouseCursorMonitor() { |
| 44 return scoped_ptr<webrtc::MouseCursorMonitor>(CreateMouseCursorMonitorPtr()); |
| 45 } |
| 46 |
42 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} | 47 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} |
43 | 48 |
44 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} | 49 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} |
45 | 50 |
46 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( | 51 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( |
47 base::WeakPtr<ClientSessionControl> client_session_control) { | 52 base::WeakPtr<ClientSessionControl> client_session_control) { |
48 return scoped_ptr<DesktopEnvironment>(CreatePtr()); | 53 return scoped_ptr<DesktopEnvironment>(CreatePtr()); |
49 } | 54 } |
50 | 55 |
51 MockInputInjector::MockInputInjector() {} | 56 MockInputInjector::MockInputInjector() {} |
(...skipping 10 matching lines...) Expand all Loading... |
62 MockClientSessionControl::~MockClientSessionControl() {} | 67 MockClientSessionControl::~MockClientSessionControl() {} |
63 | 68 |
64 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 69 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
65 | 70 |
66 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 71 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
67 | 72 |
68 MockHostStatusObserver::MockHostStatusObserver() {} | 73 MockHostStatusObserver::MockHostStatusObserver() {} |
69 | 74 |
70 MockHostStatusObserver::~MockHostStatusObserver() {} | 75 MockHostStatusObserver::~MockHostStatusObserver() {} |
71 | 76 |
| 77 MockMouseCursorMonitor::MockMouseCursorMonitor() {} |
| 78 |
| 79 MockMouseCursorMonitor::~MockMouseCursorMonitor() {} |
| 80 |
72 } // namespace remoting | 81 } // namespace remoting |
OLD | NEW |