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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "components/autofill/core/browser/autofill_type.h" | 13 #include "components/autofill/core/browser/autofill_type.h" |
15 #include "components/autofill/core/browser/form_field.h" | 14 #include "components/autofill/core/browser/form_field.h" |
16 | 15 |
17 namespace autofill { | 16 namespace autofill { |
18 | 17 |
19 class AutofillField; | 18 class AutofillField; |
20 class AutofillScanner; | 19 class AutofillScanner; |
21 | 20 |
22 class CreditCardField : public FormField { | 21 class CreditCardField : public FormField { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // |CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR|; otherwise we store | 87 // |CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR|; otherwise we store |
89 // |CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR|. | 88 // |CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR|. |
90 ServerFieldType exp_year_type_; | 89 ServerFieldType exp_year_type_; |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(CreditCardField); | 91 DISALLOW_COPY_AND_ASSIGN(CreditCardField); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace autofill | 94 } // namespace autofill |
96 | 95 |
97 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ | 96 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_FIELD_H_ |
OLD | NEW |