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

Unified Diff: components/html_viewer/stats_collection_controller.cc

Issue 1637493002: Add SameVersionStartupCounts suffix to startup HardFault and Temperature histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b1_startup_count_metric
Patch Set: merge up to r371436 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
Index: components/html_viewer/stats_collection_controller.cc
diff --git a/components/html_viewer/stats_collection_controller.cc b/components/html_viewer/stats_collection_controller.cc
index a2344594570aec631e0847779d7a1bb2e3bcc85b..aede2bd37ae031a2500713c8e1f856eb1df9cc15 100644
--- a/components/html_viewer/stats_collection_controller.cc
+++ b/components/html_viewer/stats_collection_controller.cc
@@ -35,11 +35,12 @@ void GetStartupPerformanceTimesCallbackImpl(
startup_metric_utils::RecordMainEntryPointTime(
base::Time::FromInternalValue(times->shell_main_entry_point_time));
- // TODO(msw): Determine if this is the first run.
+ // TODO(msw): Determine if this is the first run and provide a PrefService
+ // to generate stats that span multiple startups.
startup_metric_utils::RecordBrowserMainMessageLoopStart(
base::TimeTicks::FromInternalValue(
times->browser_message_loop_start_ticks),
- false);
+ false, nullptr);
startup_metric_utils::RecordBrowserWindowDisplay(
base::TimeTicks::FromInternalValue(times->browser_window_display_ticks));

Powered by Google App Engine
This is Rietveld 408576698