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

Unified Diff: remoting/host/desktop_session_connector.h

Issue 11231060: [Chromoting] The desktop process now creates a pre-connected pipe and passes (with some help of the… (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_session_agent_win.cc ('k') | remoting/host/desktop_session_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_connector.h
diff --git a/remoting/host/desktop_session_connector.h b/remoting/host/desktop_session_connector.h
index 9b270edb4087adc944adc7512544cedc658f2d09..553757456ef9cf3fcd94d74bd491036159c699a0 100644
--- a/remoting/host/desktop_session_connector.h
+++ b/remoting/host/desktop_session_connector.h
@@ -6,6 +6,7 @@
#define REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
#include "base/basictypes.h"
+#include "ipc/ipc_platform_file.h"
namespace remoting {
@@ -27,6 +28,15 @@ class DesktopSessionConnector {
virtual void DisconnectTerminal(
IpcDesktopEnvironment* desktop_environment) = 0;
+ // Notifies the network process that |terminal_id| is now attached to
+ // a desktop integration process. |desktop_process| specifies the process
+ // handle. |desktop_pipe| is the client end of the pipe opened by the desktop
+ // process.
+ virtual void OnDesktopSessionAgentAttached(
+ int terminal_id,
+ IPC::PlatformFileForTransit desktop_process,
+ IPC::PlatformFileForTransit desktop_pipe) = 0;
+
// Notifies the network process that the daemon has disconnected the desktop
// session from the associated descktop environment.
virtual void OnTerminalDisconnected(int terminal_id) = 0;
« no previous file with comments | « remoting/host/desktop_session_agent_win.cc ('k') | remoting/host/desktop_session_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698