Chromium Code Reviews| Index: Source/web/WebEmbeddedWorkerImpl.h |
| diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h |
| index 8d687929830d5f1d4e260d17619ec4c2f5f9ca99..c36fa8994140e3be3c3628be27a8e11cf2ec75fc 100644 |
| --- a/Source/web/WebEmbeddedWorkerImpl.h |
| +++ b/Source/web/WebEmbeddedWorkerImpl.h |
| @@ -44,6 +44,8 @@ class WorkerThread; |
| namespace blink { |
| class ServiceWorkerGlobalScopeProxy; |
| +class WebDataSource; |
|
kinuko
2014/03/14 11:47:17
not necessary?
michaeln
2014/03/15 01:22:39
Done.
|
| +class WebServiceWorkerNetworkProvider; |
| class WebView; |
| class WebEmbeddedWorkerImpl FINAL : |
| @@ -67,6 +69,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 +83,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; |