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_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "components/autofill/core/browser/autofill_data_model.h" | 14 #include "components/autofill/core/browser/autofill_data_model.h" |
15 | 15 |
16 namespace autofill { | 16 namespace autofill { |
17 | 17 |
18 struct FormFieldData; | |
19 | |
20 // A form group that stores credit card information. | 18 // A form group that stores credit card information. |
21 class CreditCard : public AutofillDataModel { | 19 class CreditCard : public AutofillDataModel { |
22 public: | 20 public: |
23 CreditCard(const std::string& guid, const std::string& origin); | 21 CreditCard(const std::string& guid, const std::string& origin); |
24 | 22 |
25 // For use in STL containers. | 23 // For use in STL containers. |
26 CreditCard(); | 24 CreditCard(); |
27 CreditCard(const CreditCard& credit_card); | 25 CreditCard(const CreditCard& credit_card); |
28 virtual ~CreditCard(); | 26 virtual ~CreditCard(); |
29 | 27 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 extern const char* const kDiscoverCard; | 157 extern const char* const kDiscoverCard; |
160 extern const char* const kGenericCard; | 158 extern const char* const kGenericCard; |
161 extern const char* const kJCBCard; | 159 extern const char* const kJCBCard; |
162 extern const char* const kMasterCard; | 160 extern const char* const kMasterCard; |
163 extern const char* const kUnionPay; | 161 extern const char* const kUnionPay; |
164 extern const char* const kVisaCard; | 162 extern const char* const kVisaCard; |
165 | 163 |
166 } // namespace autofill | 164 } // namespace autofill |
167 | 165 |
168 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ | 166 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ |
OLD | NEW |