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

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java

Issue 818513002: Android: UMA histogram for coldstart-to-commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 11 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/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
index 9f0d266531540a5bd27c0166149bf8ddaafc5b81..35b429171af2313a87a773ffc0518640a6390f80 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
@@ -52,6 +52,10 @@ public class ChromeShellApplication extends ChromiumApplication {
UmaUtils.recordMainEntryPointTime();
super.onCreate();
+ // Assume that application start always leads to meaningful UMA startup metrics. This is not
+ // the case for the official Chrome on Android.
+ UmaUtils.setRunningApplicationStart(true);
+
mObservers = new ArrayList<ChromeShellApplicationObserver>();
// Initialize the invalidations ID, just like we would in the downstream code.
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/UmaUtils.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698