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 965c317e79b36e31eff3a0cb73b6a767ee6a8e06..dad4174e9b623eb5887face0c8fab1c459655f78 100644 |
--- a/components/html_viewer/stats_collection_controller.cc |
+++ b/components/html_viewer/stats_collection_controller.cc |
@@ -33,11 +33,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)); |