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

Unified Diff: remoting/host/desktop_session_connector.h

Issue 2451953002: Use ChannelMojo between the remoting network and desktop processes. (Closed)
Patch Set: Created 4 years, 1 month 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.cc ('k') | remoting/host/desktop_session_proxy.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 15bcd5b3980ebde670a34001c2506fdf59e821ac..c4993b4a308907aa1758e894b0c5bc51cb9a4ea5 100644
--- a/remoting/host/desktop_session_connector.h
+++ b/remoting/host/desktop_session_connector.h
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "base/process/process.h"
-#include "ipc/ipc_platform_file.h"
+#include "ipc/ipc_channel_handle.h"
namespace remoting {
@@ -41,13 +41,11 @@ class DesktopSessionConnector {
const ScreenResolution& resolution) = 0;
// Notifies the network process that |terminal_id| is now attached to
- // a desktop integration process. |desktop_process_handle| specifies the
- // process handle. |desktop_pipe| is the client end of the pipe opened by the
- // desktop process.
+ // a desktop integration process. |desktop_pipe| is the client end of the pipe
+ // opened by the desktop process.
virtual void OnDesktopSessionAgentAttached(
int terminal_id,
- base::ProcessHandle desktop_process_handle,
- IPC::PlatformFileForTransit desktop_pipe) = 0;
+ const IPC::ChannelHandle& desktop_pipe) = 0;
// Notifies the network process that the daemon has disconnected the desktop
// session from the associated desktop environment.
« no previous file with comments | « remoting/host/desktop_session_agent.cc ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698