Index: third_party/WebKit/Source/platform/network/ResourceResponse.h |
diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h |
index 58080de3461d9b23124157483b96f34b99173c9e..aaeb84fbc94633c1a1e2bdcc5745ab5bca2a0a1b 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceResponse.h |
+++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h |
@@ -160,6 +160,9 @@ public: |
const CString& getSecurityInfo() const { return m_securityInfo; } |
void setSecurityInfo(const CString& securityInfo) { m_securityInfo = securityInfo; } |
+ bool hasCertificateErrors() const { return m_hasCertificateErrors; } |
+ void setHasCertificateErrors(bool value) { m_hasCertificateErrors = value; } |
jww
2015/11/20 01:25:08
nit: rename 'value' to something more meaningful,
estark
2015/11/23 23:40:24
Done.
|
+ |
SecurityStyle securityStyle() const { return m_securityStyle; } |
void setSecurityStyle(SecurityStyle securityStyle) { m_securityStyle = securityStyle; } |
@@ -268,6 +271,10 @@ private: |
// string if not over HTTPS). |
CString m_securityInfo; |
+ // True if the resource was retrieved by the embedder in spite of |
+ // certificate errors. |
+ bool m_hasCertificateErrors; |
+ |
// The security style of the resource. |
// This only contains a valid value when the DevTools Network domain is |
// enabled. (Otherwise, it contains a default value of Unknown.) |
@@ -357,6 +364,7 @@ public: |
time_t m_lastModifiedDate; |
RefPtr<ResourceLoadTiming> m_resourceLoadTiming; |
CString m_securityInfo; |
+ bool m_hasCertificateErrors; |
ResourceResponse::SecurityStyle m_securityStyle; |
ResourceResponse::SecurityDetails m_securityDetails; |
ResourceResponse::HTTPVersion m_httpVersion; |