| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index 136cee9b8809c4afcf5f053ae67abaa65e9048ad..31db3df862286cfedde90380d0ed1421f8dc2490 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -24,6 +24,7 @@
|
| #include "content/common/content_export.h"
|
| #include "content/common/service_worker/service_worker_status_code.h"
|
| #include "content/common/service_worker/service_worker_types.h"
|
| +#include "net/ssl/ssl_info.h"
|
| #include "third_party/WebKit/public/platform/WebGeofencingEventType.h"
|
| #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h"
|
|
|
| @@ -292,6 +293,12 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
|
|
| void SetDevToolsAttached(bool attached);
|
|
|
| + // Sets the SSLInfo of the main script. This SSLInfo will be used to fill the
|
| + // SSLInfo of HttpResponseInfo of the response which will be sent back from
|
| + // the ServiceWorker to the page to show the HTTPS padlock.
|
| + void SetMainScriptSSLInfo(const net::SSLInfo& ssl_info);
|
| + const net::SSLInfo& GetMainScriptSSLInfo();
|
| +
|
| private:
|
| class GetClientDocumentsCallback;
|
|
|
| @@ -409,6 +416,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| bool is_doomed_;
|
| std::vector<int> pending_skip_waiting_requests_;
|
| bool skip_waiting_;
|
| + net::SSLInfo main_script_ssl_info_;
|
|
|
| base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
|
|
|
|
|