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

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

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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
« no previous file with comments | « content/public/browser/ssl_status.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/ssl_status.cc
diff --git a/content/public/browser/ssl_status.cc b/content/public/browser/ssl_status.cc
index 6eaf776990bfb7bc6e35fba3fa3c101d3cb49103..4f5d2832d267343f2b7a129b7dbfce64f7454f52 100644
--- a/content/public/browser/ssl_status.cc
+++ b/content/public/browser/ssl_status.cc
@@ -10,7 +10,7 @@
namespace content {
SSLStatus::SSLStatus()
- : security_style(SECURITY_STYLE_UNKNOWN),
+ : initialized(false),
cert_status(0),
security_bits(-1),
key_exchange_group(0),
@@ -18,10 +18,9 @@ SSLStatus::SSLStatus()
content_status(NORMAL_CONTENT),
pkp_bypassed(false) {}
-SSLStatus::SSLStatus(SecurityStyle security_style,
- scoped_refptr<net::X509Certificate> certificate,
+SSLStatus::SSLStatus(scoped_refptr<net::X509Certificate> certificate,
const net::SSLInfo& ssl_info)
- : security_style(security_style),
+ : initialized(true),
certificate(certificate),
cert_status(ssl_info.cert_status),
security_bits(ssl_info.security_bits),
« no previous file with comments | « content/public/browser/ssl_status.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698