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

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

Issue 2678113002: Record UMA histogram when Form-Not-Secure warning is shown (Closed)
Patch Set: Created 3 years, 10 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/password_manager/core/browser/password_autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_autofill_manager.h
diff --git a/components/password_manager/core/browser/password_autofill_manager.h b/components/password_manager/core/browser/password_autofill_manager.h
index 9e3baa58fb76bf47ca7a740431c2356c59b31479..56a5b5c62bac958dfa4b9b903c6aaa05026243d0 100644
--- a/components/password_manager/core/browser/password_autofill_manager.h
+++ b/components/password_manager/core/browser/password_autofill_manager.h
@@ -113,6 +113,10 @@ class PasswordAutofillManager : public autofill::AutofillPopupDelegate {
// The driver that owns |this|.
PasswordManagerDriver* password_manager_driver_;
+ // True if the Form-Not-Secure warning has been shown on the current
+ // navigation. Used for metrics.
+ bool did_show_form_not_secure_warning_ = false;
+
autofill::AutofillClient* autofill_client_; // weak
base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698