Index: content/child/service_worker/service_worker_registration_handle_reference.h |
diff --git a/content/child/service_worker/service_worker_registration_handle_reference.h b/content/child/service_worker/service_worker_registration_handle_reference.h |
index 8f37098e40a2f2bb2b1d66d48a5be3830bde0b41..3fbb8a86eeb206127d1b4d94aba607a73eac52d8 100644 |
--- a/content/child/service_worker/service_worker_registration_handle_reference.h |
+++ b/content/child/service_worker/service_worker_registration_handle_reference.h |
@@ -40,7 +40,11 @@ class ServiceWorkerRegistrationHandleReference { |
const ServiceWorkerRegistrationObjectInfo& info() const { return info_; } |
int handle_id() const { return info_.handle_id; } |
- GURL scope() const { return info_.scope; } |
+ GURL scope() const { return info_.options.scope; } |
+ bool use_cache() const { |
+ return info_.options.use_cache == |
+ ServiceWorkerRegistrationOptions::UseCache::Use; |
+ } |
int64_t registration_id() const { return info_.registration_id; } |
private: |