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

Unified Diff: components/autofill/core/browser/autofill_metrics.h

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: fix test added in rebase 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
Index: components/autofill/core/browser/autofill_metrics.h
diff --git a/components/autofill/core/browser/autofill_metrics.h b/components/autofill/core/browser/autofill_metrics.h
index 32bc42dbb250e2ad67949a672bc75fdac95b0818..4127e9cd09d853a6b87b5e3fe77c4a8fb65c2ca2 100644
--- a/components/autofill/core/browser/autofill_metrics.h
+++ b/components/autofill/core/browser/autofill_metrics.h
@@ -694,6 +694,10 @@ class AutofillMetrics {
is_local_data_available_ = is_local_data_available;
}
+ inline void set_is_context_secure(bool is_context_secure) {
+ is_context_secure_ = is_context_secure;
+ }
+
void OnDidInteractWithAutofillableForm();
void OnDidPollSuggestions(const FormFieldData& field);
@@ -718,6 +722,7 @@ class AutofillMetrics {
bool is_for_credit_card_;
bool is_server_data_available_;
bool is_local_data_available_;
+ bool is_context_secure_;
bool has_logged_interacted_;
bool has_logged_suggestions_shown_;
bool has_logged_masked_server_card_suggestion_selected_;
« no previous file with comments | « components/autofill/core/browser/autofill_manager_unittest.cc ('k') | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698