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 07:01:10 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 07:01:10 +0000
commit186c8af18006730780f4dbd5c1d8921bc139e060 (patch)
treecb8dbfa89f3743e1529061850d4192f047b3d20a /chrome/browser/background_mode_manager.h
parente1bc00131f2c175e69da6188f744f976a3de14cb (diff)
downloadchromium_src-186c8af18006730780f4dbd5c1d8921bc139e060.zip
chromium_src-186c8af18006730780f4dbd5c1d8921bc139e060.tar.gz
chromium_src-186c8af18006730780f4dbd5c1d8921bc139e060.tar.bz2
Turn background mode on by default on windows.
Added a common routine to check whether background mode/background page tracking should be enabled with logic to enable it by default on windows. BUG=59980 TEST=existing tests suffice Review URL: http://codereview.chromium.org/5296003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.h')
-rw-r--r--chrome/browser/background_mode_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/background_mode_manager.h b/chrome/browser/background_mode_manager.h
index dbae6e5..6da40ec 100644
--- a/chrome/browser/background_mode_manager.h
+++ b/chrome/browser/background_mode_manager.h
@@ -46,6 +46,8 @@ class BackgroundModeManager
static void RegisterUserPrefs(PrefService* prefs);
+ static bool IsBackgroundModeEnabled(const CommandLine* command_line);
+
private:
friend class TestBackgroundModeManager;
friend class BackgroundModeManagerTest;