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

Unified Diff: components/password_manager/core/browser/password_autofill_manager.cc

Issue 2665313002: Add a counter for clicking on Form-Not-Secure warnings (Closed)
Patch Set: rebase fixup again Created 3 years, 11 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/password_manager/core/browser/password_autofill_manager.cc
diff --git a/components/password_manager/core/browser/password_autofill_manager.cc b/components/password_manager/core/browser/password_autofill_manager.cc
index 25c1e06ab48865f078e29237d48c7613f6304772..6b7cbfbd435381f9694a2c452f92916902ffcd36 100644
--- a/components/password_manager/core/browser/password_autofill_manager.cc
+++ b/components/password_manager/core/browser/password_autofill_manager.cc
@@ -292,6 +292,7 @@ void PasswordAutofillManager::DidAcceptSuggestion(const base::string16& value,
int identifier,
int position) {
if (identifier == autofill::POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE) {
+ metrics_util::LogShowedHttpNotSecureExplanation();
autofill_client_->ShowHttpNotSecureExplanation();
} else {
bool success =

Powered by Google App Engine
This is Rietveld 408576698