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

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 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)>
falken 2014/07/17 06:33:43 bikeshedding: I think we don't care about sort ord
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