OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_FIELD_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ |
6 #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ | 6 #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "chrome/browser/autofill/form_field.h" | 10 #include "chrome/browser/autofill/form_field.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 // we store the last name field here. | 31 // we store the last name field here. |
32 // (We could store an embedded NameField object here, but we don't do so | 32 // (We could store an embedded NameField object here, but we don't do so |
33 // because the text patterns for matching a cardholder name are different | 33 // because the text patterns for matching a cardholder name are different |
34 // than for ordinary names, and because cardholder names never have titles, | 34 // than for ordinary names, and because cardholder names never have titles, |
35 // middle names or suffixes.) | 35 // middle names or suffixes.) |
36 AutoFillField* cardholder_last_; | 36 AutoFillField* cardholder_last_; |
37 | 37 |
38 AutoFillField* type_; // Optional. TODO(jhawkins): Parse the select control. | 38 AutoFillField* type_; // Optional. TODO(jhawkins): Parse the select control. |
39 AutoFillField* number_; // Required. | 39 AutoFillField* number_; // Required. |
40 | 40 |
41 // The 3-digit card verification number; we don't currently fill this. | |
42 AutoFillField* verification_; | |
43 | |
44 // Both required. TODO(jhawkins): Parse the select control. | 41 // Both required. TODO(jhawkins): Parse the select control. |
45 AutoFillField* expiration_month_; | 42 AutoFillField* expiration_month_; |
46 AutoFillField* expiration_year_; | 43 AutoFillField* expiration_year_; |
47 | 44 |
48 DISALLOW_COPY_AND_ASSIGN(CreditCardField); | 45 DISALLOW_COPY_AND_ASSIGN(CreditCardField); |
49 }; | 46 }; |
50 | 47 |
51 #endif // CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ | 48 #endif // CHROME_BROWSER_AUTOFILL_CREDIT_CARD_FIELD_H_ |
OLD | NEW |