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

Unified Diff: content/browser/appcache/appcache_storage.h

Issue 879393002: Expire appcaches that fail to update for "too long". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/browser/appcache/appcache_storage.h
diff --git a/content/browser/appcache/appcache_storage.h b/content/browser/appcache/appcache_storage.h
index 854b0d1da4782567798630e6b129147eb4d5b75f..41668cbca4a9a4194fc76a6bb21b8fa8f8557ec5 100644
--- a/content/browser/appcache/appcache_storage.h
+++ b/content/browser/appcache/appcache_storage.h
@@ -151,6 +151,10 @@ class CONTENT_EXPORT AppCacheStorage {
Delegate* delegate,
int response_code) = 0;
+ // Schedules a task to update persistent storage with the times of the first
+ // evictable error and last successful full update check.
+ virtual void StoreEvictionTimes(AppCacheGroup* group) = 0;
+
// Cancels all pending callbacks for the delegate. The delegate callbacks
// will not be invoked after, however any scheduled operations will still
// take place. The callbacks for subsequently scheduled operations are

Powered by Google App Engine
This is Rietveld 408576698