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 "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "media/video/capture/screen/screen_capturer.h" | 9 #include "media/video/capture/screen/screen_capturer.h" |
10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 return scoped_ptr<AudioCapturer>(CreateAudioCapturerPtr(audio_task_runner)); | 27 return scoped_ptr<AudioCapturer>(CreateAudioCapturerPtr(audio_task_runner)); |
28 } | 28 } |
29 | 29 |
30 scoped_ptr<EventExecutor> MockDesktopEnvironment::CreateEventExecutor( | 30 scoped_ptr<EventExecutor> MockDesktopEnvironment::CreateEventExecutor( |
31 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
32 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 32 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
33 return scoped_ptr<EventExecutor>(CreateEventExecutorPtr(input_task_runner, | 33 return scoped_ptr<EventExecutor>(CreateEventExecutorPtr(input_task_runner, |
34 ui_task_runner)); | 34 ui_task_runner)); |
35 } | 35 } |
36 | 36 |
| 37 scoped_ptr<SessionController> |
| 38 MockDesktopEnvironment::CreateSessionController() { |
| 39 return scoped_ptr<SessionController>(CreateSessionControllerPtr()); |
| 40 } |
| 41 |
37 scoped_ptr<media::ScreenCapturer> MockDesktopEnvironment::CreateVideoCapturer( | 42 scoped_ptr<media::ScreenCapturer> MockDesktopEnvironment::CreateVideoCapturer( |
38 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, | 43 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, |
39 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) { | 44 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) { |
40 return scoped_ptr<media::ScreenCapturer>(CreateVideoCapturerPtr( | 45 return scoped_ptr<media::ScreenCapturer>(CreateVideoCapturerPtr( |
41 capture_task_runner, encode_task_runner)); | 46 capture_task_runner, encode_task_runner)); |
42 } | 47 } |
43 | 48 |
44 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} | 49 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} |
45 | 50 |
46 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} | 51 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 MockLocalInputMonitor::~MockLocalInputMonitor() {} | 87 MockLocalInputMonitor::~MockLocalInputMonitor() {} |
83 | 88 |
84 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 89 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
85 | 90 |
86 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 91 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
87 | 92 |
88 MockHostStatusObserver::MockHostStatusObserver() {} | 93 MockHostStatusObserver::MockHostStatusObserver() {} |
89 | 94 |
90 MockHostStatusObserver::~MockHostStatusObserver() {} | 95 MockHostStatusObserver::~MockHostStatusObserver() {} |
91 | 96 |
| 97 MockSessionController::MockSessionController() {} |
| 98 |
| 99 MockSessionController::~MockSessionController() {} |
| 100 |
92 } // namespace remoting | 101 } // namespace remoting |
OLD | NEW |