diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-09 23:47:56 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-09 23:47:56 +0000 |
commit | 5bead4818d6bf5bfb9d75f943f2312ea20d7d944 (patch) | |
tree | e6de369dca9abf255f0302fcf871d85c94978bbd /content/worker/websharedworker_stub.h | |
parent | 9909d773bbc40cbcad3d7ddb4517bcecf08df52e (diff) | |
download | chromium_src-5bead4818d6bf5bfb9d75f943f2312ea20d7d944.zip chromium_src-5bead4818d6bf5bfb9d75f943f2312ea20d7d944.tar.gz chromium_src-5bead4818d6bf5bfb9d75f943f2312ea20d7d944.tar.bz2 |
Pass Content-security-policy and header type from WebSharedWorkerProxy to WebSharedWorkerStub.
BUG=105482
Review URL: http://codereview.chromium.org/9154003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/worker/websharedworker_stub.h')
-rw-r--r-- | content/worker/websharedworker_stub.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/worker/websharedworker_stub.h b/content/worker/websharedworker_stub.h index 4ffe2a0..b2e8344 100644 --- a/content/worker/websharedworker_stub.h +++ b/content/worker/websharedworker_stub.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -51,7 +51,9 @@ class WebSharedWorkerStub : public IPC::Channel::Listener { 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, bool report_only); + void OnTerminateWorkerContext(); int route_id_; |