diff options
author | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 22:37:38 +0000 |
---|---|---|
committer | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 22:37:38 +0000 |
commit | 17543d6da3e6078109e25358481fd3bbd98ab587 (patch) | |
tree | 9d92d94d76db72a6feb4becc2e7f77ec89ebcf10 /chrome/browser/profile_impl.cc | |
parent | 4c974a138a20ec387ad0f347ca6d0804f26de74e (diff) | |
download | chromium_src-17543d6da3e6078109e25358481fd3bbd98ab587.zip chromium_src-17543d6da3e6078109e25358481fd3bbd98ab587.tar.gz chromium_src-17543d6da3e6078109e25358481fd3bbd98ab587.tar.bz2 |
All communication with the cloud print proxy service from the browser now happens in the CloudPrintProxyService class. Added code to start the service process if the cloud print proxy was enabled. Also, when detect an auto-update, we send an IPC to the service process. The service process then shuts down when the browser disconnects.
BUG=None
TEST=Unit-tests, test Cloud Print proxy UI, test that when an update is available, the service process shuts down when the browser does.
TBR=phajdan.jr
Review URL: http://codereview.chromium.org/3617008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_impl.cc')
-rw-r--r-- | chrome/browser/profile_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc index b89057d..af95572 100644 --- a/chrome/browser/profile_impl.cc +++ b/chrome/browser/profile_impl.cc @@ -1242,7 +1242,7 @@ void ProfileImpl::InitSyncService(const std::string& cros_user) { } void ProfileImpl::InitCloudPrintProxyService() { - cloud_print_proxy_service_.reset(new CloudPrintProxyService(this)); + cloud_print_proxy_service_ = new CloudPrintProxyService(this); cloud_print_proxy_service_->Initialize(); } |