Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: components/autofill/browser/wallet/wallet_items.h

Issue 12893007: Implementing VERIFY_CVV required action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ahutter@ review Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 72c8efba1447eac030d8ad7c974fba635c20a117..4cb0b28363e9e3ed99019d30fb840f9f3063582f 100644
--- a/components/autofill/browser/wallet/wallet_items.h
+++ b/components/autofill/browser/wallet/wallet_items.h
@@ -89,6 +89,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).
+ string16 TypeAndLastFourDigits() const;
+
const string16& descriptive_name() const { return descriptive_name_; }
const Type& type() const { return type_; }
const std::vector<string16>& supported_currencies() const {
@@ -210,6 +213,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;

Powered by Google App Engine
This is Rietveld 408576698