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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 1589703002: Surface SCT (Signed Certificate Timestamp) counts in the Security panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address latest comments. Created 4 years, 11 months 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/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index d00ddd259fa4b0f1d6dc84b040333b64cb993578..4117fc3a879bb333638bbd9650e8b6f74b7a0fd4 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -321,9 +321,17 @@ void WebURLResponse::setSecurityStyle(SecurityStyle securityStyle)
m_private->m_resourceResponse->setSecurityStyle(static_cast<ResourceResponse::SecurityStyle>(securityStyle));
}
-void WebURLResponse::setSecurityDetails(const WebString& protocol, const WebString& keyExchange, const WebString& cipher, const WebString& mac, int certId)
-{
- m_private->m_resourceResponse->setSecurityDetails(protocol, keyExchange, cipher, mac, certId);
+void WebURLResponse::setSecurityDetails(const WebSecurityDetails& webSecurityDetails)
+{
+ m_private->m_resourceResponse->setSecurityDetails(
+ webSecurityDetails.protocol,
+ webSecurityDetails.keyExchange,
+ webSecurityDetails.cipher,
+ webSecurityDetails.mac,
+ webSecurityDetails.certId,
+ webSecurityDetails.numUnknownScts,
+ webSecurityDetails.numInvalidScts,
+ webSecurityDetails.numValidScts);
}
ResourceResponse& WebURLResponse::toMutableResourceResponse()

Powered by Google App Engine
This is Rietveld 408576698