Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
=================================================================== |
--- chrome/browser/chromeos/chrome_browser_main_chromeos.cc (revision 172608) |
+++ chrome/browser/chromeos/chrome_browser_main_chromeos.cc (working copy) |
@@ -370,6 +370,10 @@ |
::switches::kLoginProfile).value(); |
} |
+ // Initialize the statistics provider, which will ensure that the Chrome |
+ // channel info is read and made available early. |
+ system::StatisticsProvider::GetInstance()->Init(); |
+ |
ChromeBrowserMainPartsLinux::PreEarlyInitialization(); |
} |
@@ -596,12 +600,6 @@ |
} |
void ChromeBrowserMainPartsChromeos::PostBrowserStart() { |
- // FILE thread is created in ChromeBrowserMainParts::PreMainMessageLoopRun(). |
- |
- // Get the statistics provider instance here to start loading statistcs |
- // on the background FILE thread. |
- system::StatisticsProvider::GetInstance(); |
- |
// These are dependent on the ash::Shell singleton already having been |
// initialized. |
power_button_observer_.reset(new PowerButtonObserver); |