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

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

Issue 517066: Implement AutoFillProfile, a collection of form groups that stores profile in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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/fax_number.h ('k') | chrome/browser/autofill/home_address.h » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 7
8 #include <set> 8 #include <set>
9 9
10 typedef enum _AddressType { 10 typedef enum _AddressType {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 PHONE_FAX_NUMBER = 20, 47 PHONE_FAX_NUMBER = 20,
48 PHONE_FAX_CITY_CODE = 21, 48 PHONE_FAX_CITY_CODE = 21,
49 PHONE_FAX_COUNTRY_CODE = 22, 49 PHONE_FAX_COUNTRY_CODE = 22,
50 PHONE_FAX_CITY_AND_NUMBER = 23, 50 PHONE_FAX_CITY_AND_NUMBER = 23,
51 PHONE_FAX_WHOLE_NUMBER = 24, 51 PHONE_FAX_WHOLE_NUMBER = 24,
52 52
53 // Cell phone numbers (values [25, 29]) are deprecated. 53 // Cell phone numbers (values [25, 29]) are deprecated.
54 54
55 ADDRESS_HOME_LINE1 = 30, 55 ADDRESS_HOME_LINE1 = 30,
56 ADDRESS_HOME_LINE2 = 31, 56 ADDRESS_HOME_LINE2 = 31,
57 ADDRESS_HOME_APPT_NUM = 32, 57 ADDRESS_HOME_APT_NUM = 32,
58 ADDRESS_HOME_CITY = 33, 58 ADDRESS_HOME_CITY = 33,
59 ADDRESS_HOME_STATE = 34, 59 ADDRESS_HOME_STATE = 34,
60 ADDRESS_HOME_ZIP = 35, 60 ADDRESS_HOME_ZIP = 35,
61 ADDRESS_HOME_COUNTRY = 36, 61 ADDRESS_HOME_COUNTRY = 36,
62 ADDRESS_BILLING_LINE1 = 37, 62 ADDRESS_BILLING_LINE1 = 37,
63 ADDRESS_BILLING_LINE2 = 38, 63 ADDRESS_BILLING_LINE2 = 38,
64 ADDRESS_BILLING_APPT_NUM = 39, 64 ADDRESS_BILLING_APT_NUM = 39,
65 ADDRESS_BILLING_CITY = 40, 65 ADDRESS_BILLING_CITY = 40,
66 ADDRESS_BILLING_STATE = 41, 66 ADDRESS_BILLING_STATE = 41,
67 ADDRESS_BILLING_ZIP = 42, 67 ADDRESS_BILLING_ZIP = 42,
68 ADDRESS_BILLING_COUNTRY = 43, 68 ADDRESS_BILLING_COUNTRY = 43,
69 69
70 // ADDRESS_SHIPPING values [44,50] are deprecated. 70 // ADDRESS_SHIPPING values [44,50] are deprecated.
71 71
72 CREDIT_CARD_NAME = 51, 72 CREDIT_CARD_NAME = 51,
73 CREDIT_CARD_NUMBER = 52, 73 CREDIT_CARD_NUMBER = 52,
74 CREDIT_CARD_EXP_MONTH = 53, 74 CREDIT_CARD_EXP_MONTH = 53,
75 CREDIT_CARD_EXP_2_DIGIT_YEAR = 54, 75 CREDIT_CARD_EXP_2_DIGIT_YEAR = 54,
76 CREDIT_CARD_EXP_4_DIGIT_YEAR = 55, 76 CREDIT_CARD_EXP_4_DIGIT_YEAR = 55,
77 CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR = 56, 77 CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR = 56,
78 CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR = 57, 78 CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR = 57,
79 CREDIT_CARD_TYPE = 58, 79 CREDIT_CARD_TYPE = 58,
80 CREDIT_CARD_VERIFICATION_CODE = 59, 80 CREDIT_CARD_VERIFICATION_CODE = 59,
81 81
82 COMPANY_NAME = 60, 82 COMPANY_NAME = 60,
83 83
84 // No new types can be added. 84 // No new types can be added.
85 85
86 MAX_VALID_FIELD_TYPE = 61, 86 MAX_VALID_FIELD_TYPE = 61,
87 } AutoFillFieldType; 87 } AutoFillFieldType;
88 88
89 typedef std::set<AutoFillFieldType> FieldTypeSet; 89 typedef std::set<AutoFillFieldType> FieldTypeSet;
90 90
91 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 91 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/fax_number.h ('k') | chrome/browser/autofill/home_address.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698