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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.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: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 0b7df2e960e8f4cba5fa07f12efefdee59de76d1..85c46de34879d3d4705760bae921adcd12a6a9b1 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -2022,7 +2022,7 @@ void AutofillDialogViews::MarkInputsInvalid(DialogSection section,
DetailsGroup* group = GroupForSection(section);
DCHECK(group->container->visible());
- typedef std::map<AutofillFieldType,
+ typedef std::map<ServerFieldType,
base::Callback<void(const base::string16&)> > FieldMap;
FieldMap field_map;
@@ -2139,8 +2139,8 @@ void AutofillDialogViews::TextfieldEditedOrActivated(
DetailsGroup* group = GroupForView(textfield);
DCHECK(group);
- // Figure out the AutofillFieldType this textfield represents.
- AutofillFieldType type = UNKNOWN_TYPE;
+ // Figure out the ServerFieldType this textfield represents.
+ ServerFieldType type = UNKNOWN_TYPE;
DecoratedTextfield* decorated = NULL;
// Look for the input in the manual inputs.

Powered by Google App Engine
This is Rietveld 408576698