Index: content/browser/service_worker/service_worker_registration.h |
diff --git a/content/browser/service_worker/service_worker_registration.h b/content/browser/service_worker/service_worker_registration.h |
index e0f107a2926914ae7f8b718fddb3fbbf2d178925..ae41cedc0f53ab1faa45c763ea300c00fd7d778a 100644 |
--- a/content/browser/service_worker/service_worker_registration.h |
+++ b/content/browser/service_worker/service_worker_registration.h |
@@ -50,12 +50,15 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
virtual void OnSkippedWaiting(ServiceWorkerRegistration* registation) {} |
}; |
- ServiceWorkerRegistration(const GURL& pattern, |
+ ServiceWorkerRegistration(const ServiceWorkerRegistrationOptions& options, |
int64_t registration_id, |
base::WeakPtr<ServiceWorkerContextCore> context); |
int64_t id() const { return registration_id_; } |
const GURL& pattern() const { return pattern_; } |
+ blink::WebServiceWorkerUpdateViaCache update_via_cache() const { |
+ return update_via_cache_; |
+ } |
bool is_deleted() const { return is_deleted_; } |
void set_is_deleted(bool deleted) { is_deleted_ = deleted; } |
@@ -195,6 +198,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
ServiceWorkerStatusCode status); |
const GURL pattern_; |
+ const blink::WebServiceWorkerUpdateViaCache update_via_cache_; |
const int64_t registration_id_; |
bool is_deleted_; |
bool is_uninstalling_; |