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

Unified Diff: remoting/host/ipc_desktop_environment.cc

Issue 12545026: ResizingHostObserver is created by the desktop environment together with other stubs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/ipc_desktop_environment.cc
diff --git a/remoting/host/ipc_desktop_environment.cc b/remoting/host/ipc_desktop_environment.cc
index 51ca9b16cd206081dcdbd2d39d8b23424a064218..71805d0be24e3d923c9020bd0d42f40368bfb531 100644
--- a/remoting/host/ipc_desktop_environment.cc
+++ b/remoting/host/ipc_desktop_environment.cc
@@ -18,6 +18,7 @@
#include "remoting/host/desktop_session.h"
#include "remoting/host/desktop_session_proxy.h"
#include "remoting/host/event_executor.h"
+#include "remoting/host/session_controller.h"
namespace remoting {
@@ -59,6 +60,13 @@ scoped_ptr<EventExecutor> IpcDesktopEnvironment::CreateEventExecutor(
ui_task_runner);
}
+scoped_ptr<SessionController> IpcDesktopEnvironment::CreateSessionController() {
+ DCHECK(caller_task_runner_->BelongsToCurrentThread());
+
+ ConnectToDesktopSession();
Jamie 2013/03/09 00:53:18 Why is this call needed for CreateSessionControlle
alexeypa (please no reviews) 2013/03/09 01:05:34 It is not needed. I guess I didn't pick one of fix
+ return desktop_session_proxy_->CreateSessionController();
+}
+
scoped_ptr<media::ScreenCapturer> IpcDesktopEnvironment::CreateVideoCapturer(
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) {

Powered by Google App Engine
This is Rietveld 408576698