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

Unified Diff: remoting/host/daemon_process.h

Issue 2451953002: Use ChannelMojo between the remoting network and desktop processes. (Closed)
Patch Set: Created 4 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_process.h
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index 38b84a4815fb479ede08c4a0723fdb42bd14f352..8a2c010f79cd52d722434e5c9ba660db77bea22c 100644
--- a/remoting/host/daemon_process.h
+++ b/remoting/host/daemon_process.h
@@ -18,8 +18,7 @@
#include "base/observer_list.h"
#include "base/process/process.h"
#include "ipc/ipc_channel.h"
-#include "ipc/ipc_channel_proxy.h"
-#include "ipc/ipc_platform_file.h"
+#include "ipc/ipc_channel_handle.h"
#include "remoting/host/config_watcher.h"
#include "remoting/host/host_status_monitor.h"
#include "remoting/host/worker_process_ipc_delegate.h"
@@ -82,8 +81,7 @@ class DaemonProcess
// on success, false otherwise.
virtual bool OnDesktopSessionAgentAttached(
int terminal_id,
- base::ProcessHandle desktop_process,
- IPC::PlatformFileForTransit desktop_pipe) = 0;
+ const IPC::ChannelHandle& desktop_pipe) = 0;
// Closes the desktop session identified by |terminal_id|.
void CloseDesktopSession(int terminal_id);

Powered by Google App Engine
This is Rietveld 408576698