Index: content/child/service_worker/service_worker_network_provider.h |
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h |
index 1ca07d963203f9d871b71483ccbb1729407b1f69..bd3fcbaadb598faad3a73f502328ec0ba368e76a 100644 |
--- a/content/child/service_worker/service_worker_network_provider.h |
+++ b/content/child/service_worker/service_worker_network_provider.h |
@@ -72,6 +72,10 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider { |
int provider_id() const { return provider_id_; } |
ServiceWorkerProviderContext* context() const { return context_.get(); } |
+ mojom::URLLoaderFactory* script_loader_factory() { |
+ return script_loader_factory_.get(); |
+ } |
+ |
bool IsControlledByServiceWorker() const; |
private: |
@@ -79,6 +83,8 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider { |
scoped_refptr<ServiceWorkerProviderContext> context_; |
mojom::ServiceWorkerDispatcherHostAssociatedPtr dispatcher_host_; |
mojom::ServiceWorkerProviderHostAssociatedPtr provider_host_; |
+ mojom::URLLoaderFactoryAssociatedPtr script_loader_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNetworkProvider); |
}; |