OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ |
6 #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ | 6 #define CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... | |
25 virtual FormGroup* Clone() const; | 25 virtual FormGroup* Clone() const; |
26 virtual void GetPossibleFieldTypes(const string16& text, | 26 virtual void GetPossibleFieldTypes(const string16& text, |
27 FieldTypeSet* possible_types) const; | 27 FieldTypeSet* possible_types) const; |
28 virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const; | 28 virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const; |
29 virtual void FindInfoMatches(const AutoFillType& type, | 29 virtual void FindInfoMatches(const AutoFillType& type, |
30 const string16& info, | 30 const string16& info, |
31 std::vector<string16>* matched_text) const; | 31 std::vector<string16>* matched_text) const; |
32 virtual string16 GetFieldText(const AutoFillType& type) const; | 32 virtual string16 GetFieldText(const AutoFillType& type) const; |
33 virtual string16 GetPreviewText(const AutoFillType& type) const; | 33 virtual string16 GetPreviewText(const AutoFillType& type) const; |
34 virtual void SetInfo(const AutoFillType& type, const string16& value); | 34 virtual void SetInfo(const AutoFillType& type, const string16& value); |
35 virtual const string16 Label() const; | 35 virtual string16 Label() const; |
dhollowa
2011/02/17 00:55:28
Same here... please put |const| back. And in impl
Ilya Sherman
2011/02/17 23:09:11
Done.
| |
36 | 36 |
37 // Special method to set value for HTML5 month input type. | 37 // Special method to set value for HTML5 month input type. |
38 void SetInfoForMonthInputType(const string16& value); | 38 void SetInfoForMonthInputType(const string16& value); |
39 | 39 |
40 // The number altered for display, for example: ******1234 | 40 // The number altered for display, for example: ******1234 |
41 string16 ObfuscatedNumber() const; | 41 string16 ObfuscatedNumber() const; |
42 // Credit card preview summary, for example: ******1234, Exp: 01/2020 | 42 // Credit card preview summary, for example: ******1234, Exp: 01/2020 |
43 string16 PreviewSummary() const; | 43 string16 PreviewSummary() const; |
44 // The last four digits of the credit card number. | 44 // The last four digits of the credit card number. |
45 string16 LastFourDigits() const; | 45 string16 LastFourDigits() const; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 extern const char* const kAmericanExpressCard; | 158 extern const char* const kAmericanExpressCard; |
159 extern const char* const kDinersCard; | 159 extern const char* const kDinersCard; |
160 extern const char* const kDiscoverCard; | 160 extern const char* const kDiscoverCard; |
161 extern const char* const kGenericCard; | 161 extern const char* const kGenericCard; |
162 extern const char* const kJCBCard; | 162 extern const char* const kJCBCard; |
163 extern const char* const kMasterCard; | 163 extern const char* const kMasterCard; |
164 extern const char* const kSoloCard; | 164 extern const char* const kSoloCard; |
165 extern const char* const kVisaCard; | 165 extern const char* const kVisaCard; |
166 | 166 |
167 #endif // CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ | 167 #endif // CHROME_BROWSER_AUTOFILL_CREDIT_CARD_H_ |
OLD | NEW |