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

Unified Diff: remoting/host/daemon_sender.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: 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/daemon_sender.h
diff --git a/remoting/host/daemon_sender.h b/remoting/host/daemon_sender.h
index 52663d492ae226efbcbecd216ec87ac92cb693be..8fe2ba46e91191c467368d4eac54c49fcf59004b 100644
--- a/remoting/host/daemon_sender.h
+++ b/remoting/host/daemon_sender.h
@@ -16,14 +16,12 @@ class DaemonSender {
DaemonSender() {}
virtual ~DaemonSender() {}
- // Registers |desktop_environment| with the daemon process causing a terminal
- // to be associated with it.
- virtual void RegisterDesktopEnvironment(
- DesktopEnvironment* desktop_environment) = 0;
-
- // Unregisters previously registered |desktop_environment|.
- virtual void UnregisterDesktopEnvironment(
- DesktopEnvironment* desktop_environment) = 0;
+ // Requests the daemon process to close terminal opened by OpenTerminal().
+ virtual void CloseTerminal(DesktopEnvironment* desktop_environment) = 0;
+
+ // Requests the daemon process to open a terminal and associates
+ // |desktop_environment| with it.
+ virtual void OpenTerminal(DesktopEnvironment* desktop_environment) = 0;
Wez 2012/10/13 00:47:15 nit: Put this above CloseTerminal, since it's the
alexeypa (please no reviews) 2012/10/16 19:32:25 Done.
private:
DISALLOW_COPY_AND_ASSIGN(DaemonSender);

Powered by Google App Engine
This is Rietveld 408576698