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

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

Issue 1462063004: Move VideoFramePump to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/host/fake_desktop_environment.h ('k') | remoting/host/host_mock_objects.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/fake_desktop_environment.h" 5 #include "remoting/host/fake_desktop_environment.h"
6 6
7 #include "remoting/host/audio_capturer.h" 7 #include "remoting/host/audio_capturer.h"
8 #include "remoting/host/fake_desktop_capturer.h"
9 #include "remoting/host/gnubby_auth_handler.h" 8 #include "remoting/host/gnubby_auth_handler.h"
10 #include "remoting/host/input_injector.h" 9 #include "remoting/host/input_injector.h"
10 #include "remoting/protocol/fake_desktop_capturer.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 FakeInputInjector::FakeInputInjector() {} 14 FakeInputInjector::FakeInputInjector() {}
15 FakeInputInjector::~FakeInputInjector() {} 15 FakeInputInjector::~FakeInputInjector() {}
16 16
17 void FakeInputInjector::Start( 17 void FakeInputInjector::Start(
18 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 18 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
19 } 19 }
20 20
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 scoped_ptr<InputInjector> FakeDesktopEnvironment::CreateInputInjector() { 53 scoped_ptr<InputInjector> FakeDesktopEnvironment::CreateInputInjector() {
54 return make_scoped_ptr(new FakeInputInjector()); 54 return make_scoped_ptr(new FakeInputInjector());
55 } 55 }
56 56
57 scoped_ptr<ScreenControls> FakeDesktopEnvironment::CreateScreenControls() { 57 scoped_ptr<ScreenControls> FakeDesktopEnvironment::CreateScreenControls() {
58 return make_scoped_ptr(new FakeScreenControls()); 58 return make_scoped_ptr(new FakeScreenControls());
59 } 59 }
60 60
61 scoped_ptr<webrtc::DesktopCapturer> 61 scoped_ptr<webrtc::DesktopCapturer>
62 FakeDesktopEnvironment::CreateVideoCapturer() { 62 FakeDesktopEnvironment::CreateVideoCapturer() {
63 scoped_ptr<FakeDesktopCapturer> result(new FakeDesktopCapturer()); 63 scoped_ptr<protocol::FakeDesktopCapturer> result(
64 new protocol::FakeDesktopCapturer());
64 if (!frame_generator_.is_null()) 65 if (!frame_generator_.is_null())
65 result->set_frame_generator(frame_generator_); 66 result->set_frame_generator(frame_generator_);
66 return result.Pass(); 67 return result.Pass();
67 } 68 }
68 69
69 scoped_ptr<webrtc::MouseCursorMonitor> 70 scoped_ptr<webrtc::MouseCursorMonitor>
70 FakeDesktopEnvironment::CreateMouseCursorMonitor() { 71 FakeDesktopEnvironment::CreateMouseCursorMonitor() {
71 return make_scoped_ptr(new FakeMouseCursorMonitor()); 72 return make_scoped_ptr(new FakeMouseCursorMonitor());
72 } 73 }
73 74
(...skipping 22 matching lines...) Expand all
96 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {} 97 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {}
97 98
98 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const { 99 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const {
99 return false; 100 return false;
100 } 101 }
101 102
102 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {} 103 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {}
103 104
104 105
105 } // namespace remoting 106 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/fake_desktop_environment.h ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698