Index: content/browser/service_worker/service_worker_database.h |
diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h |
index e64ff33a63882e4665772dcc084b6259b56e55c4..158ab21f181d5d605468284e465356c44bb8a6a8 100644 |
--- a/content/browser/service_worker/service_worker_database.h |
+++ b/content/browser/service_worker/service_worker_database.h |
@@ -185,13 +185,12 @@ class CONTENT_EXPORT ServiceWorkerDatabase { |
// Returns OK on success. Otherwise deletes nothing and returns an error. |
Status PurgeUncommittedResourceIds(const std::set<int64>& ids); |
- // Deletes all data for |origin|, namely, unique origin, registrations and |
+ // Deletes all data for |origins|, namely, unique origin, registrations and |
// resource records. Resources are moved to the purgeable list. Returns OK if |
// they are successfully deleted or not found in the database. Otherwise, |
// returns an error. |
- Status DeleteAllDataForOrigin( |
- const GURL& origin, |
- std::vector<int64>* newly_purgeable_resources); |
+ Status DeleteAllDataForOrigins(const std::set<GURL>& origins, |
+ std::vector<int64>* newly_purgeable_resources); |
// Completely deletes the contents of the database. |
// Be careful using this function. |