summaryrefslogtreecommitdiffstats
path: root/chrome/browser/service/service_process_control_browsertest.cc
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 19:48:58 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 19:48:58 +0000
commitde2658d5131e55239517f66c9ee19e3153941599 (patch)
tree7a262c083c035746b2916c662762e3b2d16fb4f8 /chrome/browser/service/service_process_control_browsertest.cc
parented27fa208601080479f3ef4e85d48c80ec778f97 (diff)
downloadchromium_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_browsertest.cc')
-rw-r--r--chrome/browser/service/service_process_control_browsertest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/service/service_process_control_browsertest.cc b/chrome/browser/service/service_process_control_browsertest.cc
index 854a7ab..391f99f 100644
--- a/chrome/browser/service/service_process_control_browsertest.cc
+++ b/chrome/browser/service/service_process_control_browsertest.cc
@@ -7,7 +7,6 @@
#include "chrome/browser/browser.h"
#include "chrome/browser/service/service_process_control.h"
#include "chrome/browser/service/service_process_control_manager.h"
-#include "chrome/common/service_process_type.h"
class ServiceProcessControlBrowserTest
: public InProcessBrowserTest,
@@ -16,7 +15,7 @@ class ServiceProcessControlBrowserTest
void LaunchServiceProcessControl() {
ServiceProcessControl* process =
ServiceProcessControlManager::instance()->GetProcessControl(
- browser()->profile(), kServiceProcessCloudPrint);
+ browser()->profile());
process_ = process;
// Launch the process asynchronously.