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

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

Issue 2515813002: Fix remoting_perftests build for ARM (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | 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 <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "remoting/host/audio_capturer.h" 10 #include "remoting/host/audio_capturer.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 std::unique_ptr<webrtc::DesktopCapturer> 78 std::unique_ptr<webrtc::DesktopCapturer>
79 FakeDesktopEnvironment::CreateVideoCapturer() { 79 FakeDesktopEnvironment::CreateVideoCapturer() {
80 std::unique_ptr<protocol::FakeDesktopCapturer> fake_capturer( 80 std::unique_ptr<protocol::FakeDesktopCapturer> fake_capturer(
81 new protocol::FakeDesktopCapturer()); 81 new protocol::FakeDesktopCapturer());
82 if (!frame_generator_.is_null()) 82 if (!frame_generator_.is_null())
83 fake_capturer->set_frame_generator(frame_generator_); 83 fake_capturer->set_frame_generator(frame_generator_);
84 84
85 std::unique_ptr<DesktopCapturerProxy> result( 85 std::unique_ptr<DesktopCapturerProxy> result(
86 new DesktopCapturerProxy(capture_thread_)); 86 new DesktopCapturerProxy(capture_thread_));
87 result->set_capturer(std::move(fake_capturer)); 87 result->set_capturer(std::move(fake_capturer));
88 return result; 88 return std::move(result);
89 } 89 }
90 90
91 std::unique_ptr<webrtc::MouseCursorMonitor> 91 std::unique_ptr<webrtc::MouseCursorMonitor>
92 FakeDesktopEnvironment::CreateMouseCursorMonitor() { 92 FakeDesktopEnvironment::CreateMouseCursorMonitor() {
93 return base::MakeUnique<FakeMouseCursorMonitor>(); 93 return base::MakeUnique<FakeMouseCursorMonitor>();
94 } 94 }
95 95
96 std::string FakeDesktopEnvironment::GetCapabilities() const { 96 std::string FakeDesktopEnvironment::GetCapabilities() const {
97 return std::string(); 97 return std::string();
98 } 98 }
(...skipping 20 matching lines...) Expand all
119 return std::move(result); 119 return std::move(result);
120 } 120 }
121 121
122 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {} 122 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {}
123 123
124 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const { 124 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const {
125 return false; 125 return false;
126 } 126 }
127 127
128 } // namespace remoting 128 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698