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

Unified Diff: chrome/browser/autofill/form_structure_browsertest.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/autofill/form_structure_browsertest.cc
diff --git a/chrome/browser/autofill/form_structure_browsertest.cc b/chrome/browser/autofill/form_structure_browsertest.cc
index 0666fa2b3cb15bfe95b1e62404da7bdd231e310c..aa8f085ef2b81ba115886c76809c409f721bc9f9 100644
--- a/chrome/browser/autofill/form_structure_browsertest.cc
+++ b/chrome/browser/autofill/form_structure_browsertest.cc
@@ -90,7 +90,8 @@ std::string FormStructureBrowserTest::FormStructuresToString(
(*iter)->begin();
field_iter != (*iter)->end();
++field_iter) {
- forms_string += AutofillType::FieldTypeToString((*field_iter)->type());
+ forms_string +=
+ AutofillType::FieldTypeToString((*field_iter)->Type().server_type());
forms_string += " | " + UTF16ToUTF8((*field_iter)->name);
forms_string += " | " + UTF16ToUTF8((*field_iter)->label);
forms_string += " | " + UTF16ToUTF8((*field_iter)->value);
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/sync/profile_sync_service_autofill_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698