| Index: Source/web/WebEmbeddedWorkerImpl.h
|
| diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h
|
| index 94dabc0ee9a29ade3ec28765731e815b1c25b174..038cd81865003bf19a5ab35a6a356df8401d039c 100644
|
| --- a/Source/web/WebEmbeddedWorkerImpl.h
|
| +++ b/Source/web/WebEmbeddedWorkerImpl.h
|
| @@ -35,21 +35,21 @@
|
| #include "WebEmbeddedWorker.h"
|
| #include "WebEmbeddedWorkerStartData.h"
|
| #include "WebFrameClient.h"
|
| -#include "core/frame/ContentSecurityPolicyResponseHeaders.h"
|
|
|
| namespace WebCore {
|
| -class ContentSecurityPolicyResponseHeaders;
|
| class WorkerScriptLoader;
|
| class WorkerThread;
|
| }
|
|
|
| namespace blink {
|
|
|
| +class ServiceWorkerGlobalScopeProxy;
|
| class WebView;
|
|
|
| class WebEmbeddedWorkerImpl :
|
| public WebEmbeddedWorker,
|
| public WebFrameClient {
|
| + WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl);
|
| public:
|
| WebEmbeddedWorkerImpl(
|
| PassOwnPtr<WebServiceWorkerContextClient>,
|
| @@ -62,6 +62,7 @@ public:
|
|
|
| private:
|
| class Loader;
|
| + class LoaderProxy;
|
|
|
| void prepareShadowPageForLoader();
|
| void onScriptLoaderFinished();
|
| @@ -80,6 +81,8 @@ private:
|
| OwnPtr<Loader> m_mainScriptLoader;
|
|
|
| RefPtr<WebCore::WorkerThread> m_workerThread;
|
| + OwnPtr<LoaderProxy> m_loaderProxy;
|
| + OwnPtr<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy;
|
|
|
| // 'shadow page' - created to proxy loading requests from the worker.
|
| // Both WebView and WebFrame objects are close()'ed (where they're
|
|
|