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

Unified Diff: remoting/host/desktop_environment.cc

Issue 11778049: Making DesktopEnvironment a factory class used by ClientSession to create audio/video capturers and… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/desktop_environment.cc
diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc
deleted file mode 100644
index d862e48ff397591675b09a68d99122cdbfbe882b..0000000000000000000000000000000000000000
--- a/remoting/host/desktop_environment.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "remoting/host/desktop_environment.h"
-
-#include "base/callback.h"
-#include "base/compiler_specific.h"
-#include "remoting/capturer/video_frame_capturer.h"
-#include "remoting/host/audio_capturer.h"
-#include "remoting/host/desktop_environment.h"
-#include "remoting/host/event_executor.h"
-
-namespace remoting {
-
-DesktopEnvironment::DesktopEnvironment(
- scoped_ptr<AudioCapturer> audio_capturer,
- scoped_ptr<EventExecutor> event_executor,
- scoped_ptr<VideoFrameCapturer> video_capturer)
- : audio_capturer_(audio_capturer.Pass()),
- event_executor_(event_executor.Pass()),
- video_capturer_(video_capturer.Pass()) {
-}
-
-DesktopEnvironment::~DesktopEnvironment() {
-}
-
-void DesktopEnvironment::Start(
- scoped_ptr<protocol::ClipboardStub> client_clipboard,
- const std::string& client_jid,
- const base::Closure& disconnect_callback) {
- event_executor_->Start(client_clipboard.Pass());
-}
-
-} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698