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

Side by Side Diff: components/autofill/core/browser/autofill_regex_constants.h

Issue 1001193002: Autofill: Better recognize credit card fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_
7 7
8 namespace autofill { 8 namespace autofill {
9 9
10 extern const char kAttentionIgnoredRe[]; 10 extern const char kAttentionIgnoredRe[];
11 extern const char kRegionIgnoredRe[]; 11 extern const char kRegionIgnoredRe[];
12 extern const char kCompanyRe[]; 12 extern const char kCompanyRe[];
13 extern const char kAddressLine1Re[]; 13 extern const char kAddressLine1Re[];
14 extern const char kAddressLine1LabelRe[]; 14 extern const char kAddressLine1LabelRe[];
15 extern const char kAddressLine2Re[]; 15 extern const char kAddressLine2Re[];
16 extern const char kAddressLine2LabelRe[]; 16 extern const char kAddressLine2LabelRe[];
17 extern const char kAddressLinesExtraRe[]; 17 extern const char kAddressLinesExtraRe[];
18 extern const char kAddressLookupRe[]; 18 extern const char kAddressLookupRe[];
19 extern const char kCountryRe[]; 19 extern const char kCountryRe[];
20 extern const char kCountryLocationRe[]; 20 extern const char kCountryLocationRe[];
21 extern const char kZipCodeRe[]; 21 extern const char kZipCodeRe[];
22 extern const char kZip4Re[]; 22 extern const char kZip4Re[];
23 extern const char kCityRe[]; 23 extern const char kCityRe[];
24 extern const char kStateRe[]; 24 extern const char kStateRe[];
25 extern const char kNameOnCardRe[]; 25 extern const char kNameOnCardRe[];
26 extern const char kNameOnCardContextualRe[]; 26 extern const char kNameOnCardContextualRe[];
27 extern const char kCardNumberRe[]; 27 extern const char kCardNumberRe[];
28 extern const char kCardCvcRe[]; 28 extern const char kCardCvcRe[];
29 extern const char kCardTypeRe[];
30 extern const char kExpirationMonthRe[]; 29 extern const char kExpirationMonthRe[];
31 extern const char kExpirationYearRe[]; 30 extern const char kExpirationYearRe[];
32 extern const char kExpirationDate2DigitYearRe[]; 31 extern const char kExpirationDate2DigitYearRe[];
33 extern const char kExpirationDateRe[]; 32 extern const char kExpirationDateRe[];
34 extern const char kCardIgnoredRe[];
35 extern const char kGiftCardRe[]; 33 extern const char kGiftCardRe[];
36 extern const char kEmailRe[]; 34 extern const char kEmailRe[];
37 extern const char kNameIgnoredRe[]; 35 extern const char kNameIgnoredRe[];
38 extern const char kNameRe[]; 36 extern const char kNameRe[];
39 extern const char kNameSpecificRe[]; 37 extern const char kNameSpecificRe[];
40 extern const char kFirstNameRe[]; 38 extern const char kFirstNameRe[];
41 extern const char kMiddleInitialRe[]; 39 extern const char kMiddleInitialRe[];
42 extern const char kMiddleNameRe[]; 40 extern const char kMiddleNameRe[];
43 extern const char kLastNameRe[]; 41 extern const char kLastNameRe[];
44 extern const char kPhoneRe[]; 42 extern const char kPhoneRe[];
45 extern const char kCountryCodeRe[]; 43 extern const char kCountryCodeRe[];
46 extern const char kAreaCodeNotextRe[]; 44 extern const char kAreaCodeNotextRe[];
47 extern const char kAreaCodeRe[]; 45 extern const char kAreaCodeRe[];
48 extern const char kFaxRe[]; 46 extern const char kFaxRe[];
49 extern const char kPhonePrefixSeparatorRe[]; 47 extern const char kPhonePrefixSeparatorRe[];
50 extern const char kPhoneSuffixSeparatorRe[]; 48 extern const char kPhoneSuffixSeparatorRe[];
51 extern const char kPhonePrefixRe[]; 49 extern const char kPhonePrefixRe[];
52 extern const char kPhoneSuffixRe[]; 50 extern const char kPhoneSuffixRe[];
53 extern const char kPhoneExtensionRe[]; 51 extern const char kPhoneExtensionRe[];
54 52
55 } // namespace autofill 53 } // namespace autofill
56 54
57 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_ 55 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEX_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_field.cc ('k') | components/autofill/core/browser/autofill_regex_constants.cc.utf8 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698