Index: content/child/service_worker/service_worker_provider_context.h |
diff --git a/content/child/service_worker/service_worker_provider_context.h b/content/child/service_worker/service_worker_provider_context.h |
index b005e22f580a6157cf07f3b622cd299b708b15ac..f138f8a059f81fd2f17e44654ea4ef5c892ce260 100644 |
--- a/content/child/service_worker/service_worker_provider_context.h |
+++ b/content/child/service_worker/service_worker_provider_context.h |
@@ -58,7 +58,8 @@ class CONTENT_EXPORT ServiceWorkerProviderContext |
std::unique_ptr<ServiceWorkerHandleReference> active); |
void OnDisassociateRegistration(); |
void OnSetControllerServiceWorker( |
- std::unique_ptr<ServiceWorkerHandleReference> controller); |
+ std::unique_ptr<ServiceWorkerHandleReference> controller, |
+ const std::set<uint32_t>& used_features); |
// Called on the worker thread. Used for initializing |
// ServiceWorkerGlobalScope. |
@@ -71,6 +72,7 @@ class CONTENT_EXPORT ServiceWorkerProviderContext |
int provider_id() const { return provider_id_; } |
ServiceWorkerHandleReference* controller(); |
+ std::set<uint32_t> used_features() const { return used_features_; } |
private: |
friend class base::DeleteHelper<ServiceWorkerProviderContext>; |
@@ -91,6 +93,8 @@ class CONTENT_EXPORT ServiceWorkerProviderContext |
std::unique_ptr<Delegate> delegate_; |
+ std::set<uint32_t> used_features_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderContext); |
}; |