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

Unified Diff: content/worker/websharedworker_stub.cc

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/worker/websharedworker_stub.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworker_stub.cc
===================================================================
--- content/worker/websharedworker_stub.cc (revision 116764)
+++ content/worker/websharedworker_stub.cc (working copy)
@@ -81,12 +81,14 @@
}
void WebSharedWorkerStub::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 */, bool /* report_only */) {
// Ignore multiple attempts to start this worker (can happen if two pages
// try to start it simultaneously).
if (started_)
return;
+ // FIXME(tsepez): pass CSP info into worker once webkit interface updated.
abarth-chromium 2012/01/09 21:15:58 FIXME -> TODO
Tom Sepez 2012/01/09 21:18:19 Done.
impl_->startWorkerContext(url, name_, user_agent, source_code, 0);
started_ = true;
url_ = url;
« no previous file with comments | « content/worker/websharedworker_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698