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

Side by Side Diff: chrome/browser/autofill/field_types.h

Issue 7980025: Ignore crowd-sourced fax number detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/autofill/autofill_field.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
6 #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 6 #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 21 matching lines...) Expand all
32 NAME_SUFFIX = 8, 32 NAME_SUFFIX = 8,
33 EMAIL_ADDRESS = 9, 33 EMAIL_ADDRESS = 9,
34 PHONE_HOME_NUMBER = 10, 34 PHONE_HOME_NUMBER = 10,
35 PHONE_HOME_CITY_CODE = 11, 35 PHONE_HOME_CITY_CODE = 11,
36 PHONE_HOME_COUNTRY_CODE = 12, 36 PHONE_HOME_COUNTRY_CODE = 12,
37 PHONE_HOME_CITY_AND_NUMBER = 13, 37 PHONE_HOME_CITY_AND_NUMBER = 13,
38 PHONE_HOME_WHOLE_NUMBER = 14, 38 PHONE_HOME_WHOLE_NUMBER = 14,
39 39
40 // Work phone numbers (values [15,19]) are deprecated. 40 // Work phone numbers (values [15,19]) are deprecated.
41 41
42 // Fax numbers (values [20,24]) are deprecated. 42 // Fax numbers (values [20,24]) are deprecated in Chrome, but still supported
43 // by the server.
44 PHONE_FAX_NUMBER = 20,
45 PHONE_FAX_CITY_CODE = 21,
46 PHONE_FAX_COUNTRY_CODE = 22,
47 PHONE_FAX_CITY_AND_NUMBER = 23,
48 PHONE_FAX_WHOLE_NUMBER = 24,
43 49
44 // Cell phone numbers (values [25, 29]) are deprecated. 50 // Cell phone numbers (values [25, 29]) are deprecated.
45 51
46 ADDRESS_HOME_LINE1 = 30, 52 ADDRESS_HOME_LINE1 = 30,
47 ADDRESS_HOME_LINE2 = 31, 53 ADDRESS_HOME_LINE2 = 31,
48 ADDRESS_HOME_APT_NUM = 32, 54 ADDRESS_HOME_APT_NUM = 32,
49 ADDRESS_HOME_CITY = 33, 55 ADDRESS_HOME_CITY = 33,
50 ADDRESS_HOME_STATE = 34, 56 ADDRESS_HOME_STATE = 34,
51 ADDRESS_HOME_ZIP = 35, 57 ADDRESS_HOME_ZIP = 35,
52 ADDRESS_HOME_COUNTRY = 36, 58 ADDRESS_HOME_COUNTRY = 36,
(...skipping 20 matching lines...) Expand all
73 COMPANY_NAME = 60, 79 COMPANY_NAME = 60,
74 80
75 // No new types can be added. 81 // No new types can be added.
76 82
77 MAX_VALID_FIELD_TYPE = 61, 83 MAX_VALID_FIELD_TYPE = 61,
78 }; 84 };
79 85
80 typedef std::set<AutofillFieldType> FieldTypeSet; 86 typedef std::set<AutofillFieldType> FieldTypeSet;
81 87
82 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 88 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_field.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698