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

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

Issue 2930553002: Add UMA metric to track the time elapsed since a WebAPK was last launched (Closed)
Patch Set: Merge branch 'master' into last_launched2 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/ServiceTabLauncher.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ServiceTabLauncher.java b/chrome/android/java/src/org/chromium/chrome/browser/ServiceTabLauncher.java
index 1c18a1e939f294cf500e29fa30cc4a3dce180cc6..efb09f15f144d8bc09afecebe11f498aa56ea8e1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ServiceTabLauncher.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ServiceTabLauncher.java
@@ -105,7 +105,7 @@ public class ServiceTabLauncher {
// - The WebappDataStorage hasn't been opened recently enough.
// OR
// - The WebappDataStorage corresponds to a WebAPK (and WebAPKs are disabled).
- if (storage == null || !storage.wasLaunchedRecently()
+ if (storage == null || !storage.wasUsedRecently()
|| storage.getWebApkPackageName() != null) {
LoadUrlParams loadUrlParams = new LoadUrlParams(url, PageTransition.LINK);
loadUrlParams.setPostData(postData);
« no previous file with comments | « base/android/record_histogram.cc ('k') | chrome/android/java/src/org/chromium/chrome/browser/metrics/WebApkUma.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698