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..03c5e0f4a041bee5f9b0be760c4a67d112d77ede 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, bool are_equal)> |
CompareCallback; |
virtual ~ServiceWorkerStorage(); |
@@ -124,6 +124,10 @@ class CONTENT_EXPORT ServiceWorkerStorage |
// purgeable list and purges it. |
void DoomUncommittedResponse(int64 id); |
+ // Compares only the response bodies. |
+ void CompareScriptResources(int64 lhs_id, int64 rhs_id, |
+ const CompareCallback& callback); |
+ |
// Deletes the storage and starts over. |
void DeleteAndStartOver(const StatusCallback& callback); |