| Index: Source/web/WebEmbeddedWorkerImpl.h
|
| diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h
|
| index 8d687929830d5f1d4e260d17619ec4c2f5f9ca99..71c66620cf8c81601596c9e2e93989293e5c9e70 100644
|
| --- a/Source/web/WebEmbeddedWorkerImpl.h
|
| +++ b/Source/web/WebEmbeddedWorkerImpl.h
|
| @@ -44,6 +44,7 @@ class WorkerThread;
|
| namespace blink {
|
|
|
| class ServiceWorkerGlobalScopeProxy;
|
| +class WebServiceWorkerNetworkProvider;
|
| class WebView;
|
|
|
| class WebEmbeddedWorkerImpl FINAL :
|
| @@ -67,6 +68,9 @@ private:
|
| void prepareShadowPageForLoader();
|
|
|
| // WebFrameClient overrides.
|
| + virtual void willSendRequest(
|
| + WebFrame*, unsigned identifier, WebURLRequest&,
|
| + const WebURLResponse& redirectResponse) OVERRIDE;
|
| virtual void didFinishDocumentLoad(WebFrame*) OVERRIDE;
|
|
|
| void onScriptLoaderFinished();
|
| @@ -78,6 +82,10 @@ private:
|
| OwnPtr<WebServiceWorkerContextClient> m_workerContextClient;
|
| OwnPtr<WebWorkerPermissionClientProxy> m_permissionClient;
|
|
|
| + // We retain ownership of this one which is for use on the
|
| + // main thread only.
|
| + OwnPtr<WebServiceWorkerNetworkProvider> m_networkProvider;
|
| +
|
| // Kept around only while main script loading is ongoing.
|
| OwnPtr<Loader> m_mainScriptLoader;
|
|
|
|
|