Index: content/browser/service_worker/service_worker_fetch_dispatcher.h |
diff --git a/content/browser/service_worker/service_worker_fetch_dispatcher.h b/content/browser/service_worker/service_worker_fetch_dispatcher.h |
index 3d32ce39b79c2e463d71e2dd3919263c21bfa80a..c81ccef7632a09800784564d2e74808587a93908 100644 |
--- a/content/browser/service_worker/service_worker_fetch_dispatcher.h |
+++ b/content/browser/service_worker/service_worker_fetch_dispatcher.h |
@@ -27,11 +27,11 @@ class ServiceWorkerVersion; |
// A helper class to dispatch fetch event to a service worker. |
class CONTENT_EXPORT ServiceWorkerFetchDispatcher { |
public: |
- typedef base::Callback<void(ServiceWorkerStatusCode, |
- ServiceWorkerFetchEventResult, |
- const ServiceWorkerResponse&, |
- const scoped_refptr<ServiceWorkerVersion>&)> |
- FetchCallback; |
+ using FetchCallback = |
+ base::Callback<void(ServiceWorkerStatusCode, |
+ ServiceWorkerFetchEventResult, |
+ const ServiceWorkerResponse&, |
+ const scoped_refptr<ServiceWorkerVersion>&)>; |
ServiceWorkerFetchDispatcher( |
std::unique_ptr<ServiceWorkerFetchRequest> request, |
@@ -44,7 +44,9 @@ class CONTENT_EXPORT ServiceWorkerFetchDispatcher { |
// If appropriate, starts the navigation preload request and creates |
// |preload_handle_|. |
- void MaybeStartNavigationPreload(net::URLRequest* original_request); |
+ void MaybeStartNavigationPreload( |
+ net::URLRequest* original_request, |
+ const MojoURLLoaderFactoryGetter& url_loader_factory_getter); |
// Dispatches a fetch event to the |version| given in ctor, and fires |
// |fetch_callback| (also given in ctor) when finishes. It runs |