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

Unified Diff: components/startup_metric_utils/startup_metric_utils.cc

Issue 1278673002: Add stats collection for telemetry startup.warm.blank_page test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment. Created 5 years, 4 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
« no previous file with comments | « components/startup_metric_utils/startup_metric_utils.h ('k') | components/view_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/startup_metric_utils/startup_metric_utils.cc
diff --git a/components/startup_metric_utils/startup_metric_utils.cc b/components/startup_metric_utils/startup_metric_utils.cc
index 1d546fe5241f557cd7602038172f020134646bd4..035c171cbcf0eedf43e3efdeee49417a5c84bc04 100644
--- a/components/startup_metric_utils/startup_metric_utils.cc
+++ b/components/startup_metric_utils/startup_metric_utils.cc
@@ -232,13 +232,11 @@ void RecordExeMainEntryTime() {
env->SetVar(kChromeMainTimeEnvVar, exe_load_time);
}
-#if defined(OS_ANDROID)
void RecordSavedMainEntryPointTime(const base::Time& entry_point_time) {
DCHECK(!g_main_entry_time_was_recorded);
g_main_entry_time_was_recorded = true;
*MainEntryPointTimeInternal() = entry_point_time;
}
-#endif // OS_ANDROID
// Return the time recorded by RecordMainEntryPointTime().
const base::Time MainEntryStartTime() {
« no previous file with comments | « components/startup_metric_utils/startup_metric_utils.h ('k') | components/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698