Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index b8e52040305da94c716d14016300a9bda7721e20..819ac7c786963d1811a06dcd457aee2c6900691e 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -81,6 +81,7 @@ |
#include "chrome/browser/pref_service_flags_storage.h" |
#include "chrome/browser/prefs/chrome_pref_service_factory.h" |
#include "chrome/browser/prefs/command_line_pref_store.h" |
+#include "chrome/browser/prefs/pref_metrics_service.h" |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.h" |
@@ -1527,6 +1528,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
NaClProcessHost::EarlyStartup(new NaClBrowserDelegateImpl); |
#endif |
+ // Make sure initial prefs are recorded |
+ PrefMetricsService::Factory::GetForProfile(profile_); |
+ |
PreBrowserStart(); |
// Instantiate the notification UI manager, as this triggers a perf timer |