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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 11549025: Read the ChromeOS channel info earlier during startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 172608)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -134,6 +134,7 @@
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chrome/browser/chromeos/settings/cros_settings_names.h"
+#include "chrome/browser/chromeos/system/statistics_provider.h"
#endif
// TODO(port): several win-only methods have been pulled out of this, but
@@ -725,6 +726,10 @@
switches::kProfilingOutputFile));
}
+#if defined(OS_CHROMEOS)
+ chromeos::system::StatisticsProvider::GetInstance()->Init();
kochi 2012/12/13 14:17:30 Could you add a comment why the initialization of
Alexei Svitkine (slow) 2012/12/13 15:45:49 Done.
+#endif
+
local_state_ = InitializeLocalState(local_state_task_runner,
parsed_command_line(),
is_first_run_);

Powered by Google App Engine
This is Rietveld 408576698