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

Unified Diff: content/renderer/shared_worker_repository.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/renderer/shared_worker_repository.h
diff --git a/content/renderer/shared_worker_repository.h b/content/renderer/shared_worker_repository.h
index ce3b53c497871979a4ce7f1da6dbd10fc42979fc..5be561efc0e1f9cfe9e5cd29cfcbdde1eb50106a 100644
--- a/content/renderer/shared_worker_repository.h
+++ b/content/renderer/shared_worker_repository.h
@@ -11,6 +11,10 @@
#include "content/public/renderer/render_view_observer.h"
#include "third_party/WebKit/public/web/WebSharedWorkerRepositoryClient.h"
+namespace blink{
+enum WebContentSecurityPolicyType;
+}
+
namespace content {
class RenderViewImpl;
@@ -25,7 +29,9 @@ class SharedWorkerRepository : public RenderViewObserver,
virtual blink::WebSharedWorkerConnector* createSharedWorkerConnector(
const blink::WebURL& url,
const blink::WebString& name,
- DocumentID document_id) OVERRIDE;
+ DocumentID document_id,
+ const blink::WebString& content_security_policy,
+ blink::WebContentSecurityPolicyType) OVERRIDE;
virtual void documentDetached(DocumentID document_id) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698