| Index: content/browser/loader/navigation_url_loader_impl.h
|
| diff --git a/content/browser/loader/navigation_url_loader_impl.h b/content/browser/loader/navigation_url_loader_impl.h
|
| index d3d2d38e713a9898735d6c3c5c561e23450198a9..000e7f96b0b9f2618400728420ca59654cdc4530 100644
|
| --- a/content/browser/loader/navigation_url_loader_impl.h
|
| +++ b/content/browser/loader/navigation_url_loader_impl.h
|
| @@ -21,17 +21,18 @@ namespace content {
|
|
|
| class NavigationURLLoaderImplCore;
|
| class NavigationData;
|
| -class ServiceWorkerNavigationHandle;
|
| +class ServiceWorkerContextWrapper;
|
| class StreamHandle;
|
| struct ResourceResponse;
|
|
|
| class NavigationURLLoaderImpl : public NavigationURLLoader {
|
| public:
|
| // The caller is responsible for ensuring that |delegate| outlives the loader.
|
| - NavigationURLLoaderImpl(BrowserContext* browser_context,
|
| - std::unique_ptr<NavigationRequestInfo> request_info,
|
| - ServiceWorkerNavigationHandle* service_worker_handle,
|
| - NavigationURLLoaderDelegate* delegate);
|
| + NavigationURLLoaderImpl(
|
| + BrowserContext* browser_context,
|
| + std::unique_ptr<NavigationRequestInfo> request_info,
|
| + ServiceWorkerContextWrapper* service_worker_context_wrapper,
|
| + NavigationURLLoaderDelegate* delegate);
|
| ~NavigationURLLoaderImpl() override;
|
|
|
| // NavigationURLLoader implementation.
|
| @@ -57,6 +58,9 @@ class NavigationURLLoaderImpl : public NavigationURLLoader {
|
| // potential first network request is about to be made.
|
| void NotifyRequestStarted(base::TimeTicks timestamp);
|
|
|
| + // Notifies the delegate that a ServiceWorker was found for this navigation.
|
| + void NotifyServiceWorkerEncountered();
|
| +
|
| NavigationURLLoaderDelegate* delegate_;
|
|
|
| // |core_| is deleted on the IO thread in a subsequent task when the
|
|
|