Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: content/child/service_worker/service_worker_network_provider.h

Issue 2943463002: Implement dumb URLLoader{Factory} for ServiceWorker script loading (Closed)
Patch Set: rebased Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | content/child/service_worker/service_worker_network_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698