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

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

Issue 380093002: Update installed ServiceWorkers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 5033d27a268a84521aa969c10d1b5f031f7c4597..30f329931c46e77d3d3a030d879bcb77c45b5c88 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -53,7 +53,7 @@ class CONTENT_EXPORT ServiceWorkerStorage
void(const std::vector<ServiceWorkerRegistrationInfo>& registrations)>
GetAllRegistrationInfosCallback;
typedef base::Callback<
- void(ServiceWorkerStatusCode status, int result)>
+ void(ServiceWorkerStatusCode status, int compare_result)>
CompareCallback;
virtual ~ServiceWorkerStorage();
@@ -124,6 +124,9 @@ class CONTENT_EXPORT ServiceWorkerStorage
// purgeable list and purges it.
void DoomUncommittedResponse(int64 id);
+ void CompareScriptResources(int64 lhs_id, int64 rhs_id,
+ const CompareCallback& callback);
+
// Deletes the storage and starts over.
void DeleteAndStartOver(const StatusCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698