summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_mode_manager.h
diff options
context:
space:
mode:
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);
};