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

Unified Diff: remoting/host/desktop_environment.h

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/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index f91fb85e90e0798bcb93a751d2a46bd2fc360a0c..6a6a82cb0fdd0dfb24352266cae29832c616f9de 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -24,6 +24,7 @@ namespace remoting {
class AudioCapturer;
class EventExecutor;
+class SessionController;
// Provides factory methods for creation of audio/video capturers and event
// executor for a given desktop environment.
@@ -31,13 +32,14 @@ class DesktopEnvironment {
public:
virtual ~DesktopEnvironment() {}
- // Factory methods used to create audio/video capturers and event executor for
- // a particular desktop environment.
+ // Factory methods used to create audio/video capturers, event executor, and
+ // session controller for a particular desktop environment.
virtual scoped_ptr<AudioCapturer> CreateAudioCapturer(
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) = 0;
virtual scoped_ptr<EventExecutor> CreateEventExecutor(
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) = 0;
+ virtual scoped_ptr<SessionController> CreateSessionController() = 0;
virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer(
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) = 0;

Powered by Google App Engine
This is Rietveld 408576698