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

Unified Diff: components/security_state/security_state_model.cc

Issue 2459883002: Log SSL.MarkHttpAs histogram without regard to state of the page (Closed)
Patch Set: 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 | « no previous file | components/security_state/security_state_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5f84283856e69e83451488650652f03931230048..ad131d00972caede6e55f6bb28163f26b7f84898 100644
--- a/components/security_state/security_state_model.cc
+++ b/components/security_state/security_state_model.cc
@@ -46,11 +46,10 @@ bool GetSecurityLevelAndHistogramValueForNonSecureFieldTrial(
switches::kMarkHttpWithPasswordsOrCcWithChip) {
if (displayed_sensitive_input_on_http) {
*level = SecurityStateModel::HTTP_SHOW_WARNING;
- *histogram_status = HTTP_SHOW_WARNING;
} else {
*level = SecurityStateModel::NONE;
- *histogram_status = NEUTRAL;
}
+ *histogram_status = HTTP_SHOW_WARNING;
return true;
}
« no previous file with comments | « no previous file | components/security_state/security_state_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698