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

Unified Diff: content/browser/service_worker/service_worker_storage.h

Issue 457903002: After 24 hours, bust the browser cache when checking for ServiceWorker updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/service_worker/service_worker_storage.h
diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h
index 30db1e960c1ff13e7c2ec1333c6dcb5803b03072..4648bf4c5c93d761b75bd2b747cd31e1c957ca69 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -104,6 +104,10 @@ class CONTENT_EXPORT ServiceWorkerStorage
ServiceWorkerRegistration* registration,
const StatusCallback& callback);
+ // Updates the stored time to match the value of
+ // registration->last_update_check().
+ void UpdateLastUpdateCheckTime(ServiceWorkerRegistration* registration);
+
// Deletes the registration data for |registration_id|. If the registration's
// version is live, its script resources will remain available.
// PurgeResources should be called when it's OK to delete them.

Powered by Google App Engine
This is Rietveld 408576698