Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 1558203003: Add Startup.TimeSinceLastStartup histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uptime
Patch Set: ifdef to fix build error on Android. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | components/startup_metric_utils.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 8847e775238e62c650c105708eaefafe16373967..a3c3aebf210b7813fba05bd02f6292def7ffa509 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -84,6 +84,7 @@
#include "components/rappor/rappor_service.h"
#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/ssl_config/ssl_config_service_manager.h"
+#include "components/startup_metric_utils/browser/startup_metric_utils.h"
#include "components/sync_driver/sync_prefs.h"
#include "components/syncable_prefs/pref_service_syncable.h"
#include "components/translate/core/browser/translate_prefs.h"
@@ -275,6 +276,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
RegisterScreenshotPrefs(registry);
SigninManagerFactory::RegisterPrefs(registry);
ssl_config::SSLConfigServiceManager::RegisterPrefs(registry);
+ startup_metric_utils::RegisterPrefs(registry);
web_resource::PromoResourceService::RegisterPrefs(registry);
#if defined(ENABLE_AUTOFILL_DIALOG)
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | components/startup_metric_utils.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698