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

Unified Diff: remoting/host/win/wts_session_process_delegate.h

Issue 11118005: Pass the client end handle of the network-to-daemon IPC channel via handle inheritance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. 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/win/wts_session_process_delegate.h
diff --git a/remoting/host/win/wts_session_process_delegate.h b/remoting/host/win/wts_session_process_delegate.h
index 106820e15533f480344fed03002079728c3e919d..5f7c73af625d36cc19361fe3babbde87443a19df 100644
--- a/remoting/host/win/wts_session_process_delegate.h
+++ b/remoting/host/win/wts_session_process_delegate.h
@@ -16,6 +16,11 @@ namespace base {
class SingleThreadTaskRunner;
} // namespace base
+namespace IPC {
+class Listener;
+class Message;
+} // namespace base
+
namespace remoting {
// Implements logic for launching and monitoring a worker process in a different
@@ -28,14 +33,18 @@ class WtsSessionProcessDelegate
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
const FilePath& binary_path,
uint32 session_id,
- bool launch_elevated);
+ bool launch_elevated,
+ const std::string& channel_security);
~WtsSessionProcessDelegate();
+ // IPC::Sender implementation.
+ virtual bool Send(IPC::Message* message) OVERRIDE;
+
// WorkerProcessLauncher::Delegate implementation.
virtual DWORD GetExitCode() OVERRIDE;
virtual void KillProcess(DWORD exit_code) OVERRIDE;
virtual bool LaunchProcess(
- const std::string& channel_name,
+ IPC::Listener* delegate,
base::win::ScopedHandle* process_exit_event_out) OVERRIDE;
private:
« no previous file with comments | « remoting/host/win/wts_console_session_process_driver.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698