Chromium Code Reviews| 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..e2fefa7cedd498ae16fe023558adfae05498d13a 100644 |
| --- a/components/security_state/security_state_model.h |
| +++ b/components/security_state/security_state_model.h |
| @@ -39,6 +39,12 @@ class SecurityStateModel { |
| // HTTP/no URL/HTTPS but with insecure passive content on the page. |
| NONE, |
| + // CAUTION: Do ***not*** use this SecurityLevel state, except behind a |
| + // switches::kMarkHttpAs flag! (https://crbug.com/647754) |
|
Peter Kasting
2016/09/19 18:38:21
Nit: Does this caution really belong here? I'm wo
felt
2016/09/19 18:54:09
I'm afraid of someone randomly seeing it and tryin
Peter Kasting
2016/09/19 18:58:30
Why would someone randomly see it? In what sort o
felt
2016/09/20 00:20:09
Reworded, PTAL.
|
| + // HTTP, but something about the page (e.g., inclusion of private info) |
| + // suggests we should show a warning for it. |
| + HTTP_WARNING, |
|
Peter Kasting
2016/09/19 18:38:21
Hmm. These names seem worrisome, especially since
felt
2016/09/19 18:54:09
SECURITY_WARNING is being deprecated in another CL
Peter Kasting
2016/09/19 18:58:30
If that were gone (does deprecated mean "removed"?
felt
2016/09/20 00:20:09
Lucas is removing SECURITY_WARNING completely, see
Peter Kasting
2016/09/20 00:50:05
Yay.
felt
2016/09/20 01:09:56
Sold on HTTP_SHOW_WARNING.
|
| + |
| // HTTPS with valid EV cert. |
| EV_SECURE, |