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

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: 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/common/worker_messages.h ('k') | content/renderer/shared_worker_repository.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/shared_worker_repository.h
diff --git a/content/renderer/shared_worker_repository.h b/content/renderer/shared_worker_repository.h
index 1263e8cb52a7df1a1c37f22bd6b156c2779cbaca..35537819f2d40df4ef13d8a4d8bf09faa67f9ff9 100644
--- a/content/renderer/shared_worker_repository.h
+++ b/content/renderer/shared_worker_repository.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "content/public/renderer/render_frame_observer.h"
+#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
#include "third_party/WebKit/public/web/WebSharedWorkerRepositoryClient.h"
namespace content {
@@ -28,7 +29,9 @@ class SharedWorkerRepository : public RenderFrameObserver,
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:
« no previous file with comments | « content/common/worker_messages.h ('k') | content/renderer/shared_worker_repository.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698