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

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

Issue 22009003: [Autofill] Distinguish between native field types and potentially HTML field types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/address_field.cc
diff --git a/components/autofill/core/browser/address_field.cc b/components/autofill/core/browser/address_field.cc
index c219465ff059f86e7fe7d0d547f16f8186d1c3db..ba7c09e23d15ec393d366676b5b104ee23f4f67a 100644
--- a/components/autofill/core/browser/address_field.cc
+++ b/components/autofill/core/browser/address_field.cc
@@ -136,14 +136,14 @@ AddressField::AddressField()
type_(kGenericAddress) {
}
-bool AddressField::ClassifyField(FieldTypeMap* map) const {
- AutofillFieldType address_company;
- AutofillFieldType address_line1;
- AutofillFieldType address_line2;
- AutofillFieldType address_city;
- AutofillFieldType address_state;
- AutofillFieldType address_zip;
- AutofillFieldType address_country;
+bool AddressField::ClassifyField(ServerFieldTypeMap* map) const {
+ ServerFieldType address_company;
+ ServerFieldType address_line1;
+ ServerFieldType address_line2;
+ ServerFieldType address_city;
+ ServerFieldType address_state;
+ ServerFieldType address_zip;
+ ServerFieldType address_country;
switch (type_) {
case kShippingAddress:
« no previous file with comments | « components/autofill/core/browser/address_field.h ('k') | components/autofill/core/browser/address_field_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698