From 9cbfc3b8be01d655b307eb8e79fa53ca53ba14db Mon Sep 17 00:00:00 2001 From: "atwilson@chromium.org" Date: Wed, 24 Nov 2010 02:30:54 +0000 Subject: 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 --- chrome/browser/background_mode_manager.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'chrome/browser/background_mode_manager.h') 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); }; -- cgit v1.1