Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index 0372b11dded2c624f8e78d0a17c2be358d9d0911..b097f4b54c1157c9508ed46307b21f0397df83a4 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -72,6 +72,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
int route_id, |
int provider_id, |
ServiceWorkerProviderType provider_type, |
+ bool is_parent_frame_secure, |
base::WeakPtr<ServiceWorkerContextCore> context, |
ServiceWorkerDispatcherHost* dispatcher_host); |
virtual ~ServiceWorkerProviderHost(); |
@@ -82,6 +83,11 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
int frame_id() const; |
int route_id() const { return route_id_; } |
+ bool is_parent_frame_secure() const { return is_parent_frame_secure_; } |
+ void set_parent_frame_secure(bool is_parent_frame_secure) { |
+ is_parent_frame_secure_ = is_parent_frame_secure; |
+ } |
+ |
bool IsHostToRunningServiceWorker() { |
return running_hosted_version_.get() != NULL; |
} |
@@ -307,6 +313,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
int render_thread_id_; |
int provider_id_; |
ServiceWorkerProviderType provider_type_; |
+ bool is_parent_frame_secure_; |
GURL document_url_; |
GURL topmost_frame_url_; |