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

Unified Diff: remoting/host/daemon_process.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/chromoting_messages.h ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process.h
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index 38b84a4815fb479ede08c4a0723fdb42bd14f352..1b36cb27fe4cbe8e305cca10ac5fb29ac65010de 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"
@@ -77,13 +76,11 @@ class DaemonProcess
virtual void SendToNetwork(IPC::Message* message) = 0;
// Called when a desktop integration process attaches to |terminal_id|.
- // |desktop_process| is a handle of the desktop integration process.
// |desktop_pipe| specifies the client end of the desktop pipe. Returns true
// 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);
« no previous file with comments | « remoting/host/chromoting_messages.h ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698