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

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

Issue 6480083: Changed parsing code for the phonenumbers fields to incorporate different com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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: chrome/browser/autofill/form_structure_unittest.cc
===================================================================
--- chrome/browser/autofill/form_structure_unittest.cc (revision 74701)
+++ chrome/browser/autofill/form_structure_unittest.cc (working copy)
@@ -1113,14 +1113,15 @@
ASCIIToUTF16("dayphone2"),
string16(),
ASCIIToUTF16("text"),
- 0,
+ 3, // Size of prefix is 3.
false));
form.fields.push_back(
webkit_glue::FormField(ASCIIToUTF16("-"),
ASCIIToUTF16("dayphone3"),
string16(),
ASCIIToUTF16("text"),
- 0,
+ 4, // Size of suffix is 4. If unlimited size
+ // passed phone will be parsed as CC-AC-PHONE.
dhollowa 2011/02/16 00:25:37 Suggestion: ...phone will be parsed as <country co
GeorgeY 2011/02/16 20:53:34 Done.
false));
form.fields.push_back(
webkit_glue::FormField(ASCIIToUTF16("ext.:"),

Powered by Google App Engine
This is Rietveld 408576698