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 33399147fe181eb21c88aea6362f6b286cb4f5a8..9d9bde565c97716c84145940ca78c04c8bad8186 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); |