Chromium Code Reviews| Index: components/autofill/browser/wallet/wallet_items.h |
| diff --git a/components/autofill/browser/wallet/wallet_items.h b/components/autofill/browser/wallet/wallet_items.h |
| index f278aa3fca21ac873bd03f646b7407fb6c0d94d1..0ddacad8a5dbb0a35671c883be2ebaded0fb0f9a 100644 |
| --- a/components/autofill/browser/wallet/wallet_items.h |
| +++ b/components/autofill/browser/wallet/wallet_items.h |
| @@ -88,6 +88,9 @@ class WalletItems { |
| // Gets info that corresponds with |type|. |
| string16 GetInfo(AutofillFieldType type) const; |
| + // Returns the display type of the and last for digits (e.g. Visa - 4444). |
|
Ilya Sherman
2013/03/27 23:59:23
nit: "for" -> "four"
Dan Beam
2013/03/28 03:38:12
Done.
|
| + string16 TypeAndLastFourDigits() const; |
| + |
| const string16& descriptive_name() const { return descriptive_name_; } |
| const Type& type() const { return type_; } |
| const std::vector<string16>& supported_currencies() const { |
| @@ -215,6 +218,10 @@ class WalletItems { |
| legal_documents_.push_back(legal_document.release()); |
| } |
| + // Return the corresponding instrument for |id| or NULL if it doesn't exist. |
| + const WalletItems::MaskedInstrument* GetInstrumentById( |
| + const std::string& object_id) const; |
| + |
| // Whether or not |action| is in |required_actions_|. |
| bool HasRequiredAction(RequiredAction action) const; |