Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1155)

Unified Diff: third_party/WebKit/Source/platform/network/ResourceResponse.cpp

Issue 1415923015: Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove console message; see comment to mike Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/network/ResourceResponse.cpp
diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.cpp b/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
index 37de0b6a8bd39e31b13911e2454bd8adbc1913eb..1ba750e586aff99490b20dcc6a4681bcdc515672 100644
--- a/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
@@ -48,6 +48,7 @@ ResourceResponse::ResourceResponse()
, m_date(0.0)
, m_expires(0.0)
, m_lastModified(0.0)
+ , m_hasMajorCertificateErrors(false)
, m_securityStyle(SecurityStyleUnknown)
, m_httpVersion(HTTPVersionUnknown)
, m_appCacheID(0)
@@ -84,6 +85,7 @@ ResourceResponse::ResourceResponse(const KURL& url, const AtomicString& mimeType
, m_date(0.0)
, m_expires(0.0)
, m_lastModified(0.0)
+ , m_hasMajorCertificateErrors(false)
, m_securityStyle(SecurityStyleUnknown)
, m_httpVersion(HTTPVersionUnknown)
, m_appCacheID(0)
@@ -116,6 +118,7 @@ PassOwnPtr<ResourceResponse> ResourceResponse::adopt(PassOwnPtr<CrossThreadResou
response->setLastModifiedDate(data->m_lastModifiedDate);
response->setResourceLoadTiming(data->m_resourceLoadTiming.release());
response->m_securityInfo = data->m_securityInfo;
+ response->m_hasMajorCertificateErrors = data->m_hasMajorCertificateErrors;
response->m_securityStyle = data->m_securityStyle;
response->m_securityDetails.protocol = data->m_securityDetails.protocol;
response->m_securityDetails.cipher = data->m_securityDetails.cipher;
@@ -161,6 +164,7 @@ PassOwnPtr<CrossThreadResourceResponseData> ResourceResponse::copyData() const
if (m_resourceLoadTiming)
data->m_resourceLoadTiming = m_resourceLoadTiming->deepCopy();
data->m_securityInfo = CString(m_securityInfo.data(), m_securityInfo.length());
+ data->m_hasMajorCertificateErrors = m_hasMajorCertificateErrors;
data->m_securityStyle = m_securityStyle;
data->m_securityDetails.protocol = m_securityDetails.protocol.isolatedCopy();
data->m_securityDetails.cipher = m_securityDetails.cipher.isolatedCopy();
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698