diff options
author | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 19:48:58 +0000 |
---|---|---|
committer | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 19:48:58 +0000 |
commit | de2658d5131e55239517f66c9ee19e3153941599 (patch) | |
tree | 7a262c083c035746b2916c662762e3b2d16fb4f8 /chrome/browser/service/service_process_control_manager.h | |
parent | ed27fa208601080479f3ef4e85d48c80ec778f97 (diff) | |
download | chromium_src-de2658d5131e55239517f66c9ee19e3153941599.zip chromium_src-de2658d5131e55239517f66c9ee19e3153941599.tar.gz chromium_src-de2658d5131e55239517f66c9ee19e3153941599.tar.bz2 |
Removed the ServiceProcessType enum because a single service process should host all types of services. Also implemeneted a rudimentary singleton mechanism for the service process on Windows.
BUG=None
TEST=Test cloud print proxy and remoting UI.
Review URL: http://codereview.chromium.org/3521012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/service/service_process_control_manager.h')
-rw-r--r-- | chrome/browser/service/service_process_control_manager.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/service/service_process_control_manager.h b/chrome/browser/service/service_process_control_manager.h index c57f65c..a57c43e 100644 --- a/chrome/browser/service/service_process_control_manager.h +++ b/chrome/browser/service/service_process_control_manager.h @@ -7,8 +7,6 @@ #include <vector> -#include "chrome/common/service_process_type.h" - class Profile; class ServiceProcessControl; @@ -25,12 +23,10 @@ class ServiceProcessControlManager { // Get the ServiceProcess instance corresponding to |profile| and |type|. // If such an instance doesn't exist a new instance is created. // - // There will be at most one ServiceProcess for a |profile| and |type| - // pair. + // There will be at most one ServiceProcess for a |profile|. // // This method should only be accessed on the UI thread. - ServiceProcessControl* GetProcessControl(Profile* profile, - ServiceProcessType type); + ServiceProcessControl* GetProcessControl(Profile* profile); // Destroy all ServiceProcess objects created. void Shutdown(); |