diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 05:19:29 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 05:19:29 +0000 |
commit | 4130d9e2ee756e06aae9861eb4658b0578ee67bd (patch) | |
tree | 18d47b0dac25e8bf76783ce524d37b21dc9bcbe1 /chrome/service/service_process.h | |
parent | 9b8dea2472f7df4036f07f370ab4321f24823c8c (diff) | |
download | chromium_src-4130d9e2ee756e06aae9861eb4658b0578ee67bd.zip chromium_src-4130d9e2ee756e06aae9861eb4658b0578ee67bd.tar.gz chromium_src-4130d9e2ee756e06aae9861eb4658b0578ee67bd.tar.bz2 |
Getting service process on Mac to handle having things moved/changed underneath it.
BUG=74983
TEST=See http://code.google.com/p/chromium/issues/detail?id=74983#c16
Review URL: http://codereview.chromium.org/6660001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_process.h')
-rw-r--r-- | chrome/service/service_process.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/service/service_process.h b/chrome/service/service_process.h index 19a2043..759a48e 100644 --- a/chrome/service/service_process.h +++ b/chrome/service/service_process.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -20,6 +20,7 @@ class ServiceProcessPrefs; class ServiceIPCServer; class CommandLine; class ServiceURLRequestContextGetter; +class ServiceProcessState; namespace net { class NetworkChangeNotifier; @@ -36,8 +37,10 @@ class ServiceProcess : public CloudPrintProxy::Client, ~ServiceProcess(); // Initialize the ServiceProcess with the message loop that it should run on. + // ServiceProcess takes ownership of |state|. bool Initialize(MessageLoopForUI* message_loop, - const CommandLine& command_line); + const CommandLine& command_line, + ServiceProcessState* state); bool Teardown(); // TODO(sanjeevr): Change various parts of the code such as // net::ProxyService::CreateSystemProxyConfigService to take in @@ -120,6 +123,7 @@ class ServiceProcess : public CloudPrintProxy::Client, scoped_ptr<CloudPrintProxy> cloud_print_proxy_; scoped_ptr<ServiceProcessPrefs> service_prefs_; scoped_ptr<ServiceIPCServer> ipc_server_; + scoped_ptr<ServiceProcessState> service_process_state_; // An event that will be signalled when we shutdown. base::WaitableEvent shutdown_event_; |