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

Unified Diff: content/browser/appcache/appcache_storage_impl.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, 7 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_impl.h
diff --git a/content/browser/appcache/appcache_storage_impl.h b/content/browser/appcache/appcache_storage_impl.h
index 4a8ebcc3f5b81bc5391d600c5891c48e83de2c63..3d9b0a82e2c9036073bc3062a5ff9e11c607dcea 100644
--- a/content/browser/appcache/appcache_storage_impl.h
+++ b/content/browser/appcache/appcache_storage_impl.h
@@ -60,6 +60,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
void MakeGroupObsolete(AppCacheGroup* group,
Delegate* delegate,
int response_code) override;
+ void StoreEvictionTimes(AppCacheGroup* group) override;
AppCacheResponseReader* CreateResponseReader(const GURL& manifest_url,
int64 group_id,
int64 response_id) override;
@@ -93,6 +94,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
class DeleteDeletableResponseIdsTask;
class LazyUpdateLastAccessTimeTask;
class CommitLastAccessTimesTask;
+ class UpdateEvictionTimesTask;
typedef std::deque<DatabaseTask*> DatabaseTaskQueue;
typedef std::map<int64, CacheLoadTask*> PendingCacheLoads;

Powered by Google App Engine
This is Rietveld 408576698