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

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

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: rebase 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/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..4a4dd269c2070db28fc25210bd69e77d3cca0a35 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_main_url_secure(bool is_main_url_secure) {
+ is_main_url_secure_ = is_main_url_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_main_url_secure_;
bool has_logged_interacted_;
bool has_logged_suggestions_shown_;
bool has_logged_masked_server_card_suggestion_selected_;

Powered by Google App Engine
This is Rietveld 408576698