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

Side by Side Diff: remoting/host/desktop_session_connector.h

Issue 11028128: [Chromoting] Request the daemon to open a terminal once a connection has been accepted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/desktop_environment_factory.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
6 #define REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
7
8 #include "base/basictypes.h"
9
10 namespace remoting {
11
12 class IpcDesktopEnvironment;
13
14 // Provides a way to connect a terminal (i.e. a remote client) with a desktop
15 // session (i.e. the screen, keyboard and the rest).
16 class DesktopSessionConnector {
17 public:
18 DesktopSessionConnector() {}
19 virtual ~DesktopSessionConnector() {}
20
21 // Requests the daemon process to create a desktop session and associates
22 // |desktop_environment| with it.
23 virtual void ConnectTerminal(IpcDesktopEnvironment* desktop_environment) = 0;
24
25 // Requests the daemon process disconnect |desktop_environment| from
26 // the associated desktop session.
27 virtual void DisconnectTerminal(
28 IpcDesktopEnvironment* desktop_environment) = 0;
29
30 // Notifies the network process that the daemon has disconnected the desktop
31 // session from the associated descktop environment.
32 virtual void OnTerminalDisconnected(int terminal_id) = 0;
33
34 private:
35 DISALLOW_COPY_AND_ASSIGN(DesktopSessionConnector);
36 };
37
38 } // namespace remoting
39
40 #endif // REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_environment_factory.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698