Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1829)

Unified Diff: Source/web/WebEmbeddedWorkerImpl.h

Issue 91173002: Actually start ServiceWorkerThread in EmbeddedWorker (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698