Index: content/browser/worker_host/worker_process_host.h |
diff --git a/content/browser/worker_host/worker_process_host.h b/content/browser/worker_host/worker_process_host.h |
index c3fa64d6d7459b0c3cabd287447fe3b8b2ac540b..b076c116dff4dabe2e8431595bb8bad36669282b 100644 |
--- a/content/browser/worker_host/worker_process_host.h |
+++ b/content/browser/worker_host/worker_process_host.h |
@@ -24,6 +24,10 @@ |
struct ResourceHostMsg_Request; |
+namespace blink{ |
+enum WebContentSecurityPolicyType; |
+} |
+ |
namespace fileapi { |
class FileSystemContext; |
} // namespace fileapi |
@@ -58,6 +62,8 @@ class WorkerProcessHost : public BrowserChildProcessHostDelegate, |
public: |
WorkerInstance(const GURL& url, |
const base::string16& name, |
+ const base::string16& content_security_policy, |
+ blink::WebContentSecurityPolicyType security_policy_type, |
int worker_route_id, |
int parent_process_id, |
int64 main_resource_appcache_id, |
@@ -108,6 +114,12 @@ class WorkerProcessHost : public BrowserChildProcessHostDelegate, |
void set_closed(bool closed) { closed_ = closed; } |
const GURL& url() const { return url_; } |
const base::string16 name() const { return name_; } |
+ const base::string16 content_security_policy() const { |
+ return content_security_policy_; |
+ } |
+ blink::WebContentSecurityPolicyType security_policy_type() const { |
+ return security_policy_type_; |
+ } |
int worker_route_id() const { return worker_route_id_; } |
int parent_process_id() const { return parent_process_id_; } |
int64 main_resource_appcache_id() const { |
@@ -128,6 +140,8 @@ class WorkerProcessHost : public BrowserChildProcessHostDelegate, |
GURL url_; |
bool closed_; |
base::string16 name_; |
+ base::string16 content_security_policy_; |
+ blink::WebContentSecurityPolicyType security_policy_type_; |
int worker_route_id_; |
int parent_process_id_; |
int64 main_resource_appcache_id_; |