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

Unified Diff: content/worker/websharedworker_stub.h

Issue 9154003: Pass Content-security-policy and header type from WebSharedWorkerProxy to WebSharedWorkerStub. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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/renderer/websharedworker_proxy.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworker_stub.h
===================================================================
--- content/worker/websharedworker_stub.h (revision 118326)
+++ content/worker/websharedworker_stub.h (working copy)
@@ -11,6 +11,7 @@
#include "content/worker/worker_webapplicationcachehost_impl.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorker.h"
namespace WebKit {
class WebSharedWorker;
@@ -51,7 +52,10 @@
void OnConnect(int sent_message_port_id, int routing_id);
void OnStartWorkerContext(
- const GURL& url, const string16& user_agent, const string16& source_code);
+ const GURL& url, const string16& user_agent, const string16& source_code,
+ const string16& content_security_policy,
+ WebKit::WebContentSecurityPolicyType policy_type);
+
void OnTerminateWorkerContext();
int route_id_;
« no previous file with comments | « content/renderer/websharedworker_proxy.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698