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

Unified Diff: public/web/WebSharedWorkerRepositoryClient.h

Issue 102243010: Move the worker script loading code to the worker process (phase:1/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« public/web/WebSharedWorkerClient.h ('K') | « public/web/WebSharedWorkerClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSharedWorkerRepositoryClient.h
diff --git a/public/web/WebSharedWorkerRepositoryClient.h b/public/web/WebSharedWorkerRepositoryClient.h
index c7a4054d14f0c322d40e4a31903aefbc931769c8..396acd8cfbaf551f09ae324f8f4467df76ebad79 100644
--- a/public/web/WebSharedWorkerRepositoryClient.h
+++ b/public/web/WebSharedWorkerRepositoryClient.h
@@ -35,6 +35,7 @@
namespace blink {
+enum WebContentSecurityPolicyType;
class WebString;
class WebURL;
@@ -44,7 +45,12 @@ public:
typedef unsigned long long DocumentID;
// Creates a new shared worker connector. This may return null.
+ // FIXME(horo): Remove createSharedWorkerConnector of 3 arguments.
virtual WebSharedWorkerConnector* createSharedWorkerConnector(const WebURL& url, const WebString& name, DocumentID id) { return 0; }
+ virtual WebSharedWorkerConnector* createSharedWorkerConnector(const WebURL& url, const WebString& name, DocumentID id, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType)
+ {
+ return createSharedWorkerConnector(url, name, id);
+ }
// Invoked when a document has been detached. DocumentID can be re-used after documentDetached() is invoked.
virtual void documentDetached(DocumentID) { }
« public/web/WebSharedWorkerClient.h ('K') | « public/web/WebSharedWorkerClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698