diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 06:13:30 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 06:13:30 +0000 |
commit | cc7352f88ee0cb7f66be4b1d76dc288fff923fca (patch) | |
tree | 781ced2ed1f9e160ccd68d78acdc5ad38d9711f5 /chrome/browser/profile_impl.cc | |
parent | 50245555c0f5f0dedd0b2aed1ce6a8b347c42a63 (diff) | |
download | chromium_src-cc7352f88ee0cb7f66be4b1d76dc288fff923fca.zip chromium_src-cc7352f88ee0cb7f66be4b1d76dc288fff923fca.tar.gz chromium_src-cc7352f88ee0cb7f66be4b1d76dc288fff923fca.tar.bz2 |
Disable background mode when associated pref changes.
BUG=53173
TEST=new BackgroundModeManager unit tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57642
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57749
Review URL: http://codereview.chromium.org/3205008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_impl.cc')
-rw-r--r-- | chrome/browser/profile_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc index 0f8d997..e81cef4 100644 --- a/chrome/browser/profile_impl.cc +++ b/chrome/browser/profile_impl.cc @@ -347,7 +347,8 @@ ProfileImpl::ProfileImpl(const FilePath& path) // ChromeOS because Chrome is always running (no need for special keep-alive // or launch-on-startup support). #if !defined(OS_CHROMEOS) - background_mode_manager_.reset(new BackgroundModeManager(this)); + background_mode_manager_.reset(new BackgroundModeManager(this, + CommandLine::ForCurrentProcess())); #endif background_contents_service_.reset( |