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

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; remove unnecessary change to AwShellApplication.java 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..2871a9a6228cfe23d06921ca6c5dc22c8e166454 100644
--- a/chrome/common/startup_metric_utils.h
+++ b/chrome/common/startup_metric_utils.h
@@ -31,6 +31,11 @@ void SetNonBrowserUIDisplayed();
// timestamp.
void RecordMainEntryPointTime();
+// 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);
jeremy 2013/08/27 19:18:51 # if defined(OS_ANDROID)
aberent 2013/08/28 15:53:05 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