| Index: Source/web/WebEmbeddedWorkerImpl.h
|
| diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h
|
| index 20a9e06c3daa65f45dda59c975ac242f8fb34c44..038cd81865003bf19a5ab35a6a356df8401d039c 100644
|
| --- a/Source/web/WebEmbeddedWorkerImpl.h
|
| +++ b/Source/web/WebEmbeddedWorkerImpl.h
|
| @@ -43,11 +43,13 @@ class WorkerThread;
|
|
|
| namespace blink {
|
|
|
| +class ServiceWorkerGlobalScopeProxy;
|
| class WebView;
|
|
|
| class WebEmbeddedWorkerImpl :
|
| public WebEmbeddedWorker,
|
| public WebFrameClient {
|
| + WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl);
|
| public:
|
| WebEmbeddedWorkerImpl(
|
| PassOwnPtr<WebServiceWorkerContextClient>,
|
| @@ -60,6 +62,7 @@ public:
|
|
|
| private:
|
| class Loader;
|
| + class LoaderProxy;
|
|
|
| void prepareShadowPageForLoader();
|
| void onScriptLoaderFinished();
|
| @@ -78,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
|
|
|