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

Unified Diff: content/worker/websharedworkerclient_proxy.h

Issue 115713004: Move the worker script loading code to the worker process (phase:2/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/worker/websharedworkerclient_proxy.h
diff --git a/content/worker/websharedworkerclient_proxy.h b/content/worker/websharedworkerclient_proxy.h
index 636e73f6da3ceafa215bc1d166fdd7493a9ddf63..3c33ab2d6ac3c6cc9bfd70c6aaba0a1dfee064d9 100644
--- a/content/worker/websharedworkerclient_proxy.h
+++ b/content/worker/websharedworkerclient_proxy.h
@@ -21,6 +21,7 @@ namespace content {
class SharedWorkerDevToolsAgent;
class WebSharedWorkerStub;
+class WorkerWebApplicationCacheHostImpl;
// This class receives IPCs from the renderer and calls the WebCore::Worker
// implementation (after the data types have been converted by glue code). It
@@ -35,6 +36,9 @@ class WebSharedWorkerClientProxy : public blink::WebSharedWorkerClient {
// WebSharedWorkerClient implementation.
virtual void workerContextClosed();
virtual void workerContextDestroyed();
+ virtual void workerScriptLoaded();
+ virtual void workerScriptLoadFailed();
+ virtual void selectAppCacheID(long long app_cache_id);
virtual blink::WebNotificationPresenter* notificationPresenter();
@@ -69,6 +73,7 @@ class WebSharedWorkerClientProxy : public blink::WebSharedWorkerClient {
WebSharedWorkerStub* stub_;
base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_;
SharedWorkerDevToolsAgent* devtools_agent_;
+ WorkerWebApplicationCacheHostImpl* app_cache_host_;
DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy);
};

Powered by Google App Engine
This is Rietveld 408576698