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

Unified Diff: components/security_state/security_state_model.cc

Issue 2472943004: HTTP Bad: Add a switch for showing both verbose state and form warning (Closed)
Patch Set: add a comment Created 4 years, 1 month 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.cc
diff --git a/components/security_state/security_state_model.cc b/components/security_state/security_state_model.cc
index ad131d00972caede6e55f6bb28163f26b7f84898..7ed1a53347d4e314bed110ed5b8ee1f46bd8e92a 100644
--- a/components/security_state/security_state_model.cc
+++ b/components/security_state/security_state_model.cc
@@ -43,7 +43,9 @@ bool GetSecurityLevelAndHistogramValueForNonSecureFieldTrial(
}
if (switch_or_field_trial_group ==
- switches::kMarkHttpWithPasswordsOrCcWithChip) {
+ switches::kMarkHttpWithPasswordsOrCcWithChip ||
+ switch_or_field_trial_group ==
+ switches::kMarkHttpWithPasswordsOrCcWithChipAndFormWarning) {
if (displayed_sensitive_input_on_http) {
*level = SecurityStateModel::HTTP_SHOW_WARNING;
} else {
« no previous file with comments | « chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc ('k') | components/security_state/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698