Index: remoting/host/desktop_session_win.h |
diff --git a/remoting/host/desktop_session_win.h b/remoting/host/desktop_session_win.h |
index 2b07432596d89d961ecd15b11ecdec52c0f8672c..5abf77ab58e56b15bd71d70b983df55904fde832 100644 |
--- a/remoting/host/desktop_session_win.h |
+++ b/remoting/host/desktop_session_win.h |
@@ -8,6 +8,8 @@ |
#include "base/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/win/scoped_handle.h" |
+#include "ipc/ipc_platform_file.h" |
#include "remoting/host/desktop_session.h" |
#include "remoting/host/win/wts_console_observer.h" |
#include "remoting/host/worker_process_ipc_delegate.h" |
@@ -16,6 +18,10 @@ namespace base { |
class SingleThreadTaskRunner; |
} // namespace base |
+namespace tracked_objects { |
+class Location; |
+} // namespace tracked_objects |
+ |
namespace remoting { |
class DaemonProcess; |
@@ -54,6 +60,12 @@ class DesktopSessionWin |
virtual void OnSessionDetached() OVERRIDE; |
private: |
+ // ChromotingDesktopDaemonMsg_DesktopAttached handler. |
+ void OnDesktopSessionAgentAttached(IPC::PlatformFileForTransit desktop_pipe); |
+ |
+ // Restarts the desktop process. |
+ void RestartDesktopProcess(const tracked_objects::Location& location); |
+ |
// Task runner on which public methods of this class should be called. |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
@@ -63,6 +75,9 @@ class DesktopSessionWin |
// Contains the full path to the desktop binary. |
FilePath desktop_binary_; |
+ // Handle of the desktop process. |
+ base::win::ScopedHandle desktop_process_; |
+ |
// Launches and monitors the desktop process. |
scoped_ptr<WorkerProcessLauncher> launcher_; |