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

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

Issue 1359383002: webapps: Add cleanup task when opening up WebappActivity to clean old web apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webapp-cleanup
Patch Set: Created 5 years, 3 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/webapps/WebappDataStorage.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
index b0b1bc88cbfdc6095a127fb0553a745cf4f81e3f..0d8bbb4c5235888de7dc95491b2e4920bc1dd234 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
@@ -137,7 +137,8 @@ public class WebappDataStorage {
mPreferences.edit().putLong(KEY_LAST_USED, System.currentTimeMillis()).commit();
}
- private long getLastUsedTime() {
+ /** Package private for use by WebappRegistry */
gone 2015/09/24 10:27:11 nit: could've sworn I'd put a comment last time ab
Lalit Maganti 2015/09/24 12:35:44 Think you said something related but not for packa
+ long getLastUsedTime() {
assert !ThreadUtils.runningOnUiThread();
return mPreferences.getLong(KEY_LAST_USED, INVALID_LAST_USED);
}

Powered by Google App Engine
This is Rietveld 408576698