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

Unified Diff: content/public/browser/ssl_status.h

Issue 2600233003: Discard SSL certificates for non-committed entries to save memory. (Closed)
Patch Set: Created 4 years 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/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/ssl_status.h
diff --git a/content/public/browser/ssl_status.h b/content/public/browser/ssl_status.h
index fe648b4226c24eb8194d211ad01dea0806394299..73f708098e7cc53b414bc8759fb16f173dcbdb98 100644
--- a/content/public/browser/ssl_status.h
+++ b/content/public/browser/ssl_status.h
@@ -74,6 +74,9 @@ struct CONTENT_EXPORT SSLStatus {
}
bool initialized;
+ // Note: this is only valid for committed entries. For other entries in the
+ // NavigationController (e.g. previous entries) we prune the certificate to
+ // save memory.
scoped_refptr<net::X509Certificate> certificate;
net::CertStatus cert_status;
int security_bits;
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698