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

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

Issue 2350273002: Add SSLStatus flags to feed HTTP_WARNING security level (Closed)
Patch Set: felt comments Created 4 years, 3 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 | « components/security_state/security_state_model_unittest.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | 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 192ecd78c7415a534b6d851bee72ea4a7c8779d5..6e28e628af4256c17bea954a340a7ad0745de87b 100644
--- a/content/public/browser/ssl_status.h
+++ b/content/public/browser/ssl_status.h
@@ -41,6 +41,18 @@ struct CONTENT_EXPORT SSLStatus {
// HTTPS page containing "executed" HTTPS resources (i.e. script)
// loaded with certificate errors.
RAN_CONTENT_WITH_CERT_ERRORS = 1 << 3,
+
+ // HTTP page containing a password input. Embedders may use this to
+ // adjust UI on nonsecure pages that collect sensitive data.
+ // TODO: integrate password detection to set this flag.
+ // https://crbug.com/647560
+ DISPLAYED_PASSWORD_FIELD_ON_HTTP = 1 << 4,
+
+ // HTTP page containing a credit card input. Embedders may use this to
+ // adjust UI on nonsecure pages that collect sensitive data.
+ // TODO: integrate credit card detection to set this flag.
+ // https://crbug.com/647560
+ DISPLAYED_CREDIT_CARD_FIELD_ON_HTTP = 1 << 5,
};
SSLStatus();
« no previous file with comments | « components/security_state/security_state_model_unittest.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698