| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CREDIT_CARD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_CREDIT_CARD_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ | 6 #define COMPONENTS_AUTOFILL_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/string16.h" | 12 #include "base/string16.h" |
| 13 #include "chrome/browser/autofill/field_types.h" | 13 #include "components/autofill/browser/field_types.h" |
| 14 #include "chrome/browser/autofill/form_group.h" | 14 #include "components/autofill/browser/form_group.h" |
| 15 | 15 |
| 16 struct FormFieldData; | 16 struct FormFieldData; |
| 17 | 17 |
| 18 // A form group that stores credit card information. | 18 // A form group that stores credit card information. |
| 19 class CreditCard : public FormGroup { | 19 class CreditCard : public FormGroup { |
| 20 public: | 20 public: |
| 21 explicit CreditCard(const std::string& guid); | 21 explicit CreditCard(const std::string& guid); |
| 22 | 22 |
| 23 // For use in STL containers. | 23 // For use in STL containers. |
| 24 CreditCard(); | 24 CreditCard(); |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // The string identifiers for credit card icon resources. | 143 // The string identifiers for credit card icon resources. |
| 144 extern const char* const kAmericanExpressCard; | 144 extern const char* const kAmericanExpressCard; |
| 145 extern const char* const kDinersCard; | 145 extern const char* const kDinersCard; |
| 146 extern const char* const kDiscoverCard; | 146 extern const char* const kDiscoverCard; |
| 147 extern const char* const kGenericCard; | 147 extern const char* const kGenericCard; |
| 148 extern const char* const kJCBCard; | 148 extern const char* const kJCBCard; |
| 149 extern const char* const kMasterCard; | 149 extern const char* const kMasterCard; |
| 150 extern const char* const kSoloCard; | 150 extern const char* const kSoloCard; |
| 151 extern const char* const kVisaCard; | 151 extern const char* const kVisaCard; |
| 152 | 152 |
| 153 #endif // CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ | 153 #endif // COMPONENTS_AUTOFILL_BROWSER_CREDIT_CARD_H_ |
| OLD | NEW |