diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 19:23:14 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 19:23:14 +0000 |
commit | 1e1fd49cfd5b770a7bdba08bfbba321748325f31 (patch) | |
tree | a7ff5c758fd389beaac2c7ac8ffc4b96635a383f /chrome/browser/service | |
parent | b21d691e4e486071ac8601fee7867c29729faca6 (diff) | |
download | chromium_src-1e1fd49cfd5b770a7bdba08bfbba321748325f31.zip chromium_src-1e1fd49cfd5b770a7bdba08bfbba321748325f31.tar.gz chromium_src-1e1fd49cfd5b770a7bdba08bfbba321748325f31.tar.bz2 |
Use named events instead of lock files for service process
Use named events to signal that a service process is running.
BUG=52891
TEST=browser_tests --gtest_filter=ServiceProcess*
Review URL: http://codereview.chromium.org/3268003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/service')
-rw-r--r-- | chrome/browser/service/service_process_control.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/service/service_process_control.cc b/chrome/browser/service/service_process_control.cc index 97e277b..79e8675 100644 --- a/chrome/browser/service/service_process_control.cc +++ b/chrome/browser/service/service_process_control.cc @@ -50,13 +50,7 @@ class ServiceProcessControl::Launcher } void DoDetectLaunched(Task* task) { - // TODO(hclam): We need to improve the method we are using to connect to - // the service process. The approach we are using here is to check for - // the existence of the service process lock file created after the service - // process is fully launched. if (CheckServiceProcessRunning(kServiceProcessCloudPrint)) { - // After the process is launched we listen on the file system for the - // service process lock file to detect the service process has launched. ChromeThread::PostTask(ChromeThread::UI, FROM_HERE, NewRunnableMethod(this, &Launcher::Notify, task)); return; |