summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_mode_manager.h
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 02:30:54 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 02:30:54 +0000
commit9cbfc3b8be01d655b307eb8e79fa53ca53ba14db (patch)
tree048c9410d97ae7450cefa13ca5269995867e6908 /chrome/browser/background_mode_manager.h
parente731a7edd7a30d2934de85876604093d9a738e6e (diff)
downloadchromium_src-9cbfc3b8be01d655b307eb8e79fa53ca53ba14db.zip
chromium_src-9cbfc3b8be01d655b307eb8e79fa53ca53ba14db.tar.gz
chromium_src-9cbfc3b8be01d655b307eb8e79fa53ca53ba14db.tar.bz2
Remove background mode preferences UI.
BUG=64267 TEST=Existing tests suffice. Review URL: http://codereview.chromium.org/5361003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.h')
-rw-r--r--chrome/browser/background_mode_manager.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/chrome/browser/background_mode_manager.h b/chrome/browser/background_mode_manager.h
index 666b4f7..dbae6e5 100644
--- a/chrome/browser/background_mode_manager.h
+++ b/chrome/browser/background_mode_manager.h
@@ -27,10 +27,9 @@ class StatusTray;
// are no open browser windows.
//
// Chrome enters background mode whenever there is an application with the
-// "background" permission installed and the appropriate user preference is
-// set (kBackgroundModeEnabled). This class monitors the set of installed/loaded
-// extensions to ensure that Chrome enters/exits background mode at the
-// appropriate time.
+// "background" permission installed. This class monitors the set of
+// installed/loaded extensions to ensure that Chrome enters/exits background
+// mode at the appropriate time.
//
// When Chrome is in background mode, it will continue running even after the
// last browser window is closed, until the user explicitly exits the app.
@@ -94,12 +93,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 background mode preference is enabled
- bool IsBackgroundModeEnabled();
-
// Returns true if chrome has set "launch on startup" property for itself
// earlier and is allowed to reset it later, reducing likelihood of
// overriding user choices.
@@ -183,9 +176,6 @@ class BackgroundModeManager
// Reference to our status icon (if any) - owned by the StatusTray.
StatusIcon* status_icon_;
- // Ensure observed preferences are properly cleaned up.
- PrefChangeRegistrar pref_registrar_;
-
DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager);
};