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

Unified Diff: remoting/host/host_service_win.h

Issue 10823062: Introducing the DaemonProcess class that will implements core of the daemon process functionality. … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/host_service_win.h
diff --git a/remoting/host/host_service_win.h b/remoting/host/host_service_win.h
index e448119936efe65c70a089cbc9fa5f6f79b2ea43..126d3740622022b8a383710b6aa2e0990ed3b391 100644
--- a/remoting/host/host_service_win.h
+++ b/remoting/host/host_service_win.h
@@ -22,9 +22,16 @@ class SingleThreadTaskRunner;
namespace remoting {
+#if defined(REMOTING_MULTI_PROCESS)
+class DaemonProcess;
+#endif // defined(REMOTING_MULTI_PROCESS)
+
class Shutdownable;
class WtsConsoleObserver;
+
+#if !defined(REMOTING_MULTI_PROCESS)
class WtsSessionProcessLauncher;
+#endif // !defined(REMOTING_MULTI_PROCESS)
class HostService : public WtsConsoleMonitor {
public:
@@ -45,7 +52,7 @@ class HostService : public WtsConsoleMonitor {
HostService();
~HostService();
- void OnLauncherShutdown(Shutdownable* launcher);
+ void OnShutdownableStopped(Shutdownable* launcher);
// Notifies the service of changes in session state.
void OnSessionChange();
@@ -85,7 +92,11 @@ class HostService : public WtsConsoleMonitor {
// to the physical console.
ObserverList<WtsConsoleObserver> console_observers_;
- scoped_ptr<WtsSessionProcessLauncher> launcher_;
+#if defined(REMOTING_MULTI_PROCESS)
+ scoped_ptr<DaemonProcess> child_;
+#else
+ scoped_ptr<WtsSessionProcessLauncher> child_;
Sergey Ulanov 2012/07/30 19:50:04 This is used only to call Shutdown(), so maybe mak
alexeypa (please no reviews) 2012/07/30 21:50:03 Done.
+#endif // defined(REMOTING_MULTI_PROCESS)
// Service message loop.
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698