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

Unified Diff: components/autofill/core/browser/autofill_field.cc

Issue 1686063004: Sending generated vote on password generation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BUILD.gn Created 4 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_field.cc
diff --git a/components/autofill/core/browser/autofill_field.cc b/components/autofill/core/browser/autofill_field.cc
index 754ec0175be74bfcf416f6c51d84048fdc0f2eaf..dff77b10665f1750b777c588a8bbaa0896702ff7 100644
--- a/components/autofill/core/browser/autofill_field.cc
+++ b/components/autofill/core/browser/autofill_field.cc
@@ -20,6 +20,7 @@
#include "components/autofill/core/browser/country_names.h"
#include "components/autofill/core/browser/credit_card.h"
#include "components/autofill/core/browser/phone_number.h"
+#include "components/autofill/core/browser/proto/server.pb.h"
#include "components/autofill/core/browser/state_names.h"
#include "components/autofill/core/common/autofill_l10n_util.h"
#include "components/autofill/core/common/autofill_switches.h"
@@ -443,7 +444,8 @@ AutofillField::AutofillField()
html_mode_(HTML_MODE_NONE),
phone_part_(IGNORED),
credit_card_number_offset_(0),
- previously_autofilled_(false) {}
+ previously_autofilled_(false),
+ generation_type_(AutofillUploadContents::Field::NO_GENERATION) {}
AutofillField::AutofillField(const FormFieldData& field,
const base::string16& unique_name)
@@ -456,7 +458,8 @@ AutofillField::AutofillField(const FormFieldData& field,
phone_part_(IGNORED),
credit_card_number_offset_(0),
previously_autofilled_(false),
- parseable_name_(field.name) {}
+ parseable_name_(field.name),
+ generation_type_(AutofillUploadContents::Field::NO_GENERATION) {}
AutofillField::~AutofillField() {}
« no previous file with comments | « components/autofill/core/browser/autofill_field.h ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698