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

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

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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/desktop_environment.h" 5 #include "remoting/host/desktop_environment.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "remoting/capturer/video_frame_capturer.h"
8 #include "remoting/host/audio_capturer.h" 9 #include "remoting/host/audio_capturer.h"
9 #include "remoting/host/desktop_environment.h" 10 #include "remoting/host/desktop_environment.h"
10 #include "remoting/host/event_executor.h" 11 #include "remoting/host/event_executor.h"
11 #include "remoting/host/video_frame_capturer.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 DesktopEnvironment::DesktopEnvironment( 15 DesktopEnvironment::DesktopEnvironment(
16 scoped_ptr<AudioCapturer> audio_capturer, 16 scoped_ptr<AudioCapturer> audio_capturer,
17 scoped_ptr<EventExecutor> event_executor, 17 scoped_ptr<EventExecutor> event_executor,
18 scoped_ptr<VideoFrameCapturer> video_capturer) 18 scoped_ptr<VideoFrameCapturer> video_capturer)
19 : audio_capturer_(audio_capturer.Pass()), 19 : audio_capturer_(audio_capturer.Pass()),
20 event_executor_(event_executor.Pass()), 20 event_executor_(event_executor.Pass()),
21 video_capturer_(video_capturer.Pass()) { 21 video_capturer_(video_capturer.Pass()) {
22 } 22 }
23 23
24 DesktopEnvironment::~DesktopEnvironment() { 24 DesktopEnvironment::~DesktopEnvironment() {
25 } 25 }
26 26
27 void DesktopEnvironment::Start( 27 void DesktopEnvironment::Start(
28 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 28 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
29 event_executor_->Start(client_clipboard.Pass()); 29 event_executor_->Start(client_clipboard.Pass());
30 } 30 }
31 31
32 } // namespace remoting 32 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698