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

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

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/host_mock_objects.h ('k') | remoting/host/input_injector_mac.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 "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "media/video/capture/screen/screen_capturer.h"
10 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
11 #include "remoting/base/auto_thread_task_runner.h" 10 #include "remoting/base/auto_thread_task_runner.h"
12 #include "remoting/codec/audio_encoder.h" 11 #include "remoting/codec/audio_encoder.h"
13 #include "remoting/codec/video_encoder.h" 12 #include "remoting/codec/video_encoder.h"
14 #include "remoting/host/audio_capturer.h" 13 #include "remoting/host/audio_capturer.h"
15 #include "remoting/host/input_injector.h" 14 #include "remoting/host/input_injector.h"
16 #include "remoting/proto/event.pb.h" 15 #include "remoting/proto/event.pb.h"
17 #include "remoting/protocol/transport.h" 16 #include "remoting/protocol/transport.h"
17 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h"
18 18
19 namespace remoting { 19 namespace remoting {
20 20
21 MockDesktopEnvironment::MockDesktopEnvironment() {} 21 MockDesktopEnvironment::MockDesktopEnvironment() {}
22 22
23 MockDesktopEnvironment::~MockDesktopEnvironment() {} 23 MockDesktopEnvironment::~MockDesktopEnvironment() {}
24 24
25 scoped_ptr<AudioCapturer> MockDesktopEnvironment::CreateAudioCapturer() { 25 scoped_ptr<AudioCapturer> MockDesktopEnvironment::CreateAudioCapturer() {
26 return scoped_ptr<AudioCapturer>(CreateAudioCapturerPtr()); 26 return scoped_ptr<AudioCapturer>(CreateAudioCapturerPtr());
27 } 27 }
28 28
29 scoped_ptr<InputInjector> MockDesktopEnvironment::CreateInputInjector() { 29 scoped_ptr<InputInjector> MockDesktopEnvironment::CreateInputInjector() {
30 return scoped_ptr<InputInjector>(CreateInputInjectorPtr()); 30 return scoped_ptr<InputInjector>(CreateInputInjectorPtr());
31 } 31 }
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<media::ScreenCapturer> 37 scoped_ptr<webrtc::ScreenCapturer>
38 MockDesktopEnvironment::CreateVideoCapturer() { 38 MockDesktopEnvironment::CreateVideoCapturer() {
39 return scoped_ptr<media::ScreenCapturer>(CreateVideoCapturerPtr()); 39 return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr());
40 } 40 }
41 41
42 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} 42 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {}
43 43
44 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} 44 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {}
45 45
46 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( 46 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create(
47 base::WeakPtr<ClientSessionControl> client_session_control) { 47 base::WeakPtr<ClientSessionControl> client_session_control) {
48 return scoped_ptr<DesktopEnvironment>(CreatePtr()); 48 return scoped_ptr<DesktopEnvironment>(CreatePtr());
49 } 49 }
(...skipping 13 matching lines...) Expand all
63 63
64 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 64 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
65 65
66 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 66 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
67 67
68 MockHostStatusObserver::MockHostStatusObserver() {} 68 MockHostStatusObserver::MockHostStatusObserver() {}
69 69
70 MockHostStatusObserver::~MockHostStatusObserver() {} 70 MockHostStatusObserver::~MockHostStatusObserver() {}
71 71
72 } // namespace remoting 72 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/input_injector_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698