OLD | NEW |
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 #include "components/autofill/core/browser/credit_card.h" | 5 #include "components/autofill/core/browser/credit_card.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <ostream> | 10 #include <ostream> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/guid.h" | 14 #include "base/guid.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/strings/string_split.h" | 18 #include "base/strings/string_split.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "components/autofill/core/browser/autofill_field.h" | 22 #include "components/autofill/core/browser/autofill_field.h" |
| 23 #include "components/autofill/core/browser/autofill_regexes.h" |
23 #include "components/autofill/core/browser/autofill_type.h" | 24 #include "components/autofill/core/browser/autofill_type.h" |
24 #include "components/autofill/core/browser/validation.h" | 25 #include "components/autofill/core/browser/validation.h" |
25 #include "components/autofill/core/common/autofill_l10n_util.h" | 26 #include "components/autofill/core/common/autofill_l10n_util.h" |
26 #include "components/autofill/core/common/autofill_regexes.h" | |
27 #include "components/autofill/core/common/form_field_data.h" | 27 #include "components/autofill/core/common/form_field_data.h" |
28 #include "grit/components_scaled_resources.h" | 28 #include "grit/components_scaled_resources.h" |
29 #include "grit/components_strings.h" | 29 #include "grit/components_strings.h" |
30 #include "third_party/icu/source/common/unicode/uloc.h" | 30 #include "third_party/icu/source/common/unicode/uloc.h" |
31 #include "third_party/icu/source/i18n/unicode/dtfmtsym.h" | 31 #include "third_party/icu/source/i18n/unicode/dtfmtsym.h" |
32 #include "ui/base/l10n/l10n_util.h" | 32 #include "ui/base/l10n/l10n_util.h" |
33 | 33 |
34 namespace autofill { | 34 namespace autofill { |
35 | 35 |
36 namespace { | 36 namespace { |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 const char* const kAmericanExpressCard = "americanExpressCC"; | 784 const char* const kAmericanExpressCard = "americanExpressCC"; |
785 const char* const kDinersCard = "dinersCC"; | 785 const char* const kDinersCard = "dinersCC"; |
786 const char* const kDiscoverCard = "discoverCC"; | 786 const char* const kDiscoverCard = "discoverCC"; |
787 const char* const kGenericCard = "genericCC"; | 787 const char* const kGenericCard = "genericCC"; |
788 const char* const kJCBCard = "jcbCC"; | 788 const char* const kJCBCard = "jcbCC"; |
789 const char* const kMasterCard = "masterCardCC"; | 789 const char* const kMasterCard = "masterCardCC"; |
790 const char* const kUnionPay = "unionPayCC"; | 790 const char* const kUnionPay = "unionPayCC"; |
791 const char* const kVisaCard = "visaCC"; | 791 const char* const kVisaCard = "visaCC"; |
792 | 792 |
793 } // namespace autofill | 793 } // namespace autofill |
OLD | NEW |