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

Unified Diff: chrome/common/startup_metric_utils.h

Issue 23443009: [Android] Support startup histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Android] Support startup histogram - answer code review comments Created 7 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
Index: chrome/common/startup_metric_utils.h
diff --git a/chrome/common/startup_metric_utils.h b/chrome/common/startup_metric_utils.h
index e82578bcc38d1ddfc985e668791b6c03c3cb3aa0..3e11c77a5db02d81dac943864645c538496d493b 100644
--- a/chrome/common/startup_metric_utils.h
+++ b/chrome/common/startup_metric_utils.h
@@ -31,6 +31,13 @@ void SetNonBrowserUIDisplayed();
// timestamp.
void RecordMainEntryPointTime();
+#if defined(OS_ANDROID)
+// On Android the entry point time is the time at which the Java code starts.
+// This is recorded on the Java side, and then passed to the C++ side once the
+// C++ library is loaded and running.
+void RecordSavedMainEntryPointTime(const base::Time& entry_point_time);
+#endif
jeremy 2013/08/28 18:15:56 #endif // OS_ANDROID
aberent 2013/08/29 11:45:13 Done.
+
// Called just before the message loop is about to start. Entry point to record
// startup stats.
// |is_first_run| - is the current launch part of a first run.

Powered by Google App Engine
This is Rietveld 408576698