summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/service_process.h')
-rw-r--r--chrome/service/service_process.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/service/service_process.h b/chrome/service/service_process.h
index 55c6d62..3e99d21 100644
--- a/chrome/service/service_process.h
+++ b/chrome/service/service_process.h
@@ -104,8 +104,11 @@ class ServiceProcess : public RemotingDirectoryService::Client,
#endif
private:
- // Shuts down the process if no services are enabled.
- void ShutdownIfNoServices();
+ // Schedule a call to ShutdownIfNeeded.
+ void ScheduleShutdownCheck();
+ // Shuts down the process if no services are enabled and no clients are
+ // connected.
+ void ShutdownIfNeeded();
// Called exactly ONCE per process instance for each service that gets
// enabled in this process.
void OnServiceEnabled();