diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 23:44:55 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 23:44:55 +0000 |
commit | 3190a0188be239b00c8781b096db50dd72e5e00b (patch) | |
tree | 8d3caa26daa181b6df65fff462500fda7e2b46be /chrome/browser/background_mode_manager.h | |
parent | 07dc3928e698dbcb8a51151442caef94dff45ab3 (diff) | |
download | chromium_src-3190a0188be239b00c8781b096db50dd72e5e00b.zip chromium_src-3190a0188be239b00c8781b096db50dd72e5e00b.tar.gz chromium_src-3190a0188be239b00c8781b096db50dd72e5e00b.tar.bz2 |
Revert 57749 - Disable background mode when associated pref changes.
Disabling because new tests don't work now that BackgroundModeManager is
disabled by default from r57713.
BUG=53173
TEST=new BackgroundModeManager unit tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57642
Review URL: http://codereview.chromium.org/3205008
TBR=atwilson@chromium.org
Review URL: http://codereview.chromium.org/3223008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.h')
-rw-r--r-- | chrome/browser/background_mode_manager.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/browser/background_mode_manager.h b/chrome/browser/background_mode_manager.h index 9970391..38b010c 100644 --- a/chrome/browser/background_mode_manager.h +++ b/chrome/browser/background_mode_manager.h @@ -49,12 +49,6 @@ class BackgroundModeManager BackgroundAppLoadUnload); FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, BackgroundAppInstallUninstall); - FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, - BackgroundPrefDisabled); - FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, - BackgroundPrefDynamicDisable); - FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, - BackgroundPrefDynamicEnable); // NotificationObserver implementation. virtual void Observe(NotificationType type, @@ -82,9 +76,6 @@ class BackgroundModeManager // launch-on-startup is disabled if appropriate. void OnBackgroundAppUninstalled(); - // Invoked when the kBackgroundModeEnabled preference has changed. - void OnBackgroundModePrefChanged(); - // Returns true if the passed extension is a background app. bool IsBackgroundApp(Extension* extension); @@ -130,11 +121,6 @@ class BackgroundModeManager // The number of background apps currently loaded. int background_app_count_; - // Set to true when we are running in background mode. Allows us to track our - // current background state so we can take the appropriate action when the - // user disables/enables background mode via preferences. - bool in_background_mode_; - // Reference to our status tray (owned by our parent profile). If null, the // platform doesn't support status icons. StatusTray* status_tray_; |