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

Unified Diff: components/security_state/security_state_model.h

Issue 2346063002: Add new SecurityLevel for Http Bad state (Closed)
Patch Set: HTTP_WARNING -> HTTP_SHOW_WARNING 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
Index: components/security_state/security_state_model.h
diff --git a/components/security_state/security_state_model.h b/components/security_state/security_state_model.h
index fc7e5f34c7d4d085098f3ac19c2b568f8d48fb3b..2aa256d0b2328656f7f98f7f3601f230ff1a046b 100644
--- a/components/security_state/security_state_model.h
+++ b/components/security_state/security_state_model.h
@@ -39,6 +39,14 @@ class SecurityStateModel {
// HTTP/no URL/HTTPS but with insecure passive content on the page.
NONE,
+ // HTTP, in a case where we want to show a visible warning about the page's
+ // lack of security.
+ //
+ // The criteria used to classify pages as NONE vs. HTTP_SHOW_WARNING will
+ // change over time. Eventually, NONE will be eliminated.
+ // See https://crbug.com/647754.
+ HTTP_SHOW_WARNING,
+
// HTTPS with valid EV cert.
EV_SECURE,
« no previous file with comments | « chrome/browser/ssl/chrome_security_state_model_client.cc ('k') | components/security_state/security_state_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698