summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/phone_field.h
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 07:08:12 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 07:08:12 +0000
commit7f512a0c118966c285254f037f68a952d6aeb0dc (patch)
tree4ce2954a8cc72cc3598b1c8b10a0790e35df6144 /chrome/browser/autofill/phone_field.h
parent70049d93a7248acfefbdf16c573fb95e32a8fdfc (diff)
downloadchromium_src-7f512a0c118966c285254f037f68a952d6aeb0dc.zip
chromium_src-7f512a0c118966c285254f037f68a952d6aeb0dc.tar.gz
chromium_src-7f512a0c118966c285254f037f68a952d6aeb0dc.tar.bz2
Add preliminary support for the autocompletetype atttribute for phone/fax prefix and suffix.
BUG=92121 TEST=unit_tests --gtest_filter=FormStructureTest.*:AutofillManagerTest.* Review URL: http://codereview.chromium.org/7694017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/phone_field.h')
-rw-r--r--chrome/browser/autofill/phone_field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/phone_field.h b/chrome/browser/autofill/phone_field.h
index 65c2d73..c4f9122 100644
--- a/chrome/browser/autofill/phone_field.h
+++ b/chrome/browser/autofill/phone_field.h
@@ -124,7 +124,7 @@ class PhoneField : public FormField {
static struct Parser {
RegexType regex; // Field matching reg-ex.
PhonePart phone_part; // Index of the field.
- int max_size; // Max size of the field to match. 0 means any.
+ size_t max_size; // Max size of the field to match. 0 means any.
} phone_field_grammars_[];
DISALLOW_COPY_AND_ASSIGN(PhoneField);