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

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: Move IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) to content_param_traits_macros.h. Created 6 years, 11 months 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 | « content/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworkerclient_proxy.h
diff --git a/content/worker/websharedworkerclient_proxy.h b/content/worker/websharedworkerclient_proxy.h
index a573368431af361f74379d07fa61937e0b9ef9ad..beb3086d756a5a87f19fcc59c27e7effbccceef0 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();
@@ -61,6 +65,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);
};
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698