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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 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
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/common/ssl_status_serialization.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index d61bebb1dd80227c1e027693b111d102d2d4dbe5..7c495de890c5cf85c182ae2e5edc2b6a70359720 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2134,8 +2134,11 @@ void WebContentsImpl::OnDidLoadResourceFromMemoryCache(
net::CertStatus cert_status = 0;
int security_bits = -1;
int connection_status = 0;
+ int signed_certificate_timestamp_id = 0;
DeserializeSecurityInfo(security_info, &cert_id, &cert_status,
- &security_bits, &connection_status);
+ &security_bits, &connection_status,
+ &signed_certificate_timestamp_id);
+ // XXX(rsleevi): Track the SCT here
LoadFromMemoryCacheDetails details(
url, GetRenderProcessHost()->GetID(), cert_id, cert_status, http_method,
mime_type, resource_type);
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/common/ssl_status_serialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698