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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java

Issue 2960843003: Remove UMA.Debug.EnableCrashUpload.* UMA, (Closed)
Patch Set: Keep DeferredStartUpCompleteTime metrics Created 3 years, 6 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/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java
index 3704fb21666c20c5263d3cfc0da06e1d1ee5eeb8..5f22e8e01b050ae4a237f61cc8491a471313eae1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java
@@ -52,14 +52,10 @@ public class UmaUtils {
}
/**
- * Whether the application is in the early stage since the browser process start. The
- * "application start" ends right after the last histogram related to browser startup is
- * recorded. Currently, the very first navigation commit in the lifetime of the process ends the
- * "application start".
- * Must only be called on the UI thread.
+ * Determines if Chrome was brought to foreground.
*/
- public static boolean isRunningApplicationStart() {
- return sRunningApplicationStart;
+ public static boolean hasComeToForeground() {
+ return sForegroundStartTimeMs != 0;
}
/**

Powered by Google App Engine
This is Rietveld 408576698