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

Unified Diff: content/browser/ssl/ssl_manager.cc

Issue 71633002: Convert SignedCertificateClass to be ref_counted, and add an SCTStore in which to store them. Add S… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: few lint fixes 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/sct_store_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_manager.cc
diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
index efc71d032776299964af8f3a1a36cd60c63cc7a0..56df5cb73dad1e93a2d41fec72fc8858b2b814b4 100644
--- a/content/browser/ssl/ssl_manager.cc
+++ b/content/browser/ssl/ssl_manager.cc
@@ -124,13 +124,13 @@ void SSLManager::DidCommitProvisionalLoad(const LoadCommittedDetails& details) {
net::CertStatus ssl_cert_status;
int ssl_security_bits;
int ssl_connection_status;
- int ssl_signed_certificate_timestamp_id;
+ content::SCTIdStatusList ssl_signed_certificate_timestamp_ids;
DeserializeSecurityInfo(details.serialized_security_info,
&ssl_cert_id,
&ssl_cert_status,
&ssl_security_bits,
&ssl_connection_status,
- &ssl_signed_certificate_timestamp_id);
+ &ssl_signed_certificate_timestamp_ids);
// We may not have an entry if this is a navigation to an initial blank
// page. Reset the SSL information and add the new data we have.
@@ -139,8 +139,8 @@ void SSLManager::DidCommitProvisionalLoad(const LoadCommittedDetails& details) {
entry->GetSSL().cert_status = ssl_cert_status;
entry->GetSSL().security_bits = ssl_security_bits;
entry->GetSSL().connection_status = ssl_connection_status;
- entry->GetSSL().signed_certificate_timestamp_id =
- ssl_signed_certificate_timestamp_id;
+ entry->GetSSL().signed_certificate_timestamp_ids =
+ ssl_signed_certificate_timestamp_ids;
}
}
« no previous file with comments | « content/browser/sct_store_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698