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

Unified Diff: chrome/browser/autofill/form_structure_browsertest.cc

Issue 22040002: [Autofill] Add a separate enumeration for HTML field type hints. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser test 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
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/autofill_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aa8f085ef2b81ba115886c76809c409f721bc9f9..c497275511bbe3a1e94ac97d863e33bb0841285c 100644
--- a/chrome/browser/autofill/form_structure_browsertest.cc
+++ b/chrome/browser/autofill/form_structure_browsertest.cc
@@ -90,8 +90,7 @@ std::string FormStructureBrowserTest::FormStructuresToString(
(*iter)->begin();
field_iter != (*iter)->end();
++field_iter) {
- forms_string +=
- AutofillType::FieldTypeToString((*field_iter)->Type().server_type());
+ forms_string += (*field_iter)->Type().ToString();
forms_string += " | " + UTF16ToUTF8((*field_iter)->name);
forms_string += " | " + UTF16ToUTF8((*field_iter)->label);
forms_string += " | " + UTF16ToUTF8((*field_iter)->value);
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698