Index: content/browser/service_worker/service_worker_navigation_handle_core.h |
diff --git a/content/browser/service_worker/service_worker_navigation_handle_core.h b/content/browser/service_worker/service_worker_navigation_handle_core.h |
index 88e5013c9d20ac5fb2b5d735023f84eab912e250..f9458d975986890ed8da26377f8a7625945efb51 100644 |
--- a/content/browser/service_worker/service_worker_navigation_handle_core.h |
+++ b/content/browser/service_worker/service_worker_navigation_handle_core.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
+#include "content/common/service_worker/service_worker_types.h" |
namespace content { |
@@ -28,7 +29,8 @@ class ServiceWorkerNavigationHandleCore { |
public: |
ServiceWorkerNavigationHandleCore( |
base::WeakPtr<ServiceWorkerNavigationHandle> ui_handle, |
- ServiceWorkerContextWrapper* context_wrapper); |
+ ServiceWorkerContextWrapper* context_wrapper, |
+ const MojoURLLoaderFactoryGetter& url_loader_factory_getter); |
~ServiceWorkerNavigationHandleCore(); |
// Called when a ServiceWorkerProviderHost was pre-created for the navigation |
@@ -44,11 +46,15 @@ class ServiceWorkerNavigationHandleCore { |
ServiceWorkerContextWrapper* context_wrapper() const { |
return context_wrapper_.get(); |
} |
+ MojoURLLoaderFactoryGetter url_loader_factory_getter() { |
+ return url_loader_factory_getter_; |
+ } |
private: |
std::unique_ptr<ServiceWorkerProviderHost> precreated_host_; |
scoped_refptr<ServiceWorkerContextWrapper> context_wrapper_; |
base::WeakPtr<ServiceWorkerNavigationHandle> ui_handle_; |
+ MojoURLLoaderFactoryGetter url_loader_factory_getter_; |
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNavigationHandleCore); |
}; |