| 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 6b7dea0d3b83aa9b5ab2e1433850c72296471539..4c605cf7c640b9256b9535ca0155550d7f7b8db4 100644
|
| --- a/content/browser/service_worker/service_worker_database.h
|
| +++ b/content/browser/service_worker/service_worker_database.h
|
| @@ -64,6 +64,7 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| bool is_active;
|
| bool has_fetch_handler;
|
| base::Time last_update_check;
|
| + std::vector<GURL> foreign_fetch_scopes;
|
|
|
| // Not populated until ServiceWorkerStorage::StoreRegistration is called.
|
| int64_t resources_total_size_bytes;
|
| @@ -107,6 +108,11 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| // Otherwise, returns an error.
|
| Status GetOriginsWithRegistrations(std::set<GURL>* origins);
|
|
|
| + // Reads origins that have one or more than one registration with at least one
|
| + // foreign fetch scope registered. Returns OK if they are successfully read or
|
| + // not found. Otherwise returns an error.
|
| + Status GetOriginsWithForeignFetchRegistrations(std::set<GURL>* origins);
|
| +
|
| // Reads registrations for |origin| from the database. Returns OK if they are
|
| // successfully read or not found. Otherwise, returns an error.
|
| Status GetRegistrationsForOrigin(
|
|
|