summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.cc
diff options
context:
space:
mode:
authorgab <gab@chromium.org>2015-01-08 12:04:36 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-08 20:05:52 +0000
commit9447481dce7480e7e1bd2cf9604a28aa5f7099e3 (patch)
treedab06d992d925114dd29e949345c6c04b2949d8f /chrome/browser/browser_process_impl.cc
parent6e8cb70336132348903ff193fb54973ea098839a (diff)
downloadchromium_src-9447481dce7480e7e1bd2cf9604a28aa5f7099e3.zip
chromium_src-9447481dce7480e7e1bd2cf9604a28aa5f7099e3.tar.gz
chromium_src-9447481dce7480e7e1bd2cf9604a28aa5f7099e3.tar.bz2
Add BackgroundMode UMA stats.
1) BackgroundMode.OnStartup.AutoLaunchState: To monitor the state of background mode launching in the wild (and hopefully justify getting rid of foreground mode support). 2) BackgroundMode.OnStartup.IsBackgroundModePrefEnabled: To monitor the state of the background mode pref in the wild (and potentially motivate more work on issue 436507 which is currently believed to be a corner case). This is the stats additions extracted from https://codereview.chromium.org/779523002/ after taking the decision not to move forward with that CL. BUG=436507 Review URL: https://codereview.chromium.org/824793002 Cr-Commit-Position: refs/heads/master@{#310574}
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r--chrome/browser/browser_process_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 8870d79..387fa7c 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1060,7 +1060,7 @@ void BrowserProcessImpl::CreateBackgroundModeManager() {
#if defined(ENABLE_BACKGROUND)
DCHECK(background_mode_manager_.get() == NULL);
background_mode_manager_.reset(
- new BackgroundModeManager(base::CommandLine::ForCurrentProcess(),
+ new BackgroundModeManager(*base::CommandLine::ForCurrentProcess(),
&profile_manager()->GetProfileInfoCache()));
#endif
}