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

Unified Diff: components/autofill/core/browser/credit_card.h

Issue 2621153002: [WebPayments] Add the Payment Method section in the Payment Sheet (Closed)
Patch Set: Initial patch Created 3 years, 11 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/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index d0a8a6eee7ee8b3b720d6e44035359baee0be127..48d5e871413a4236de8d376724559d9367a0b4ef 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -65,6 +65,10 @@ class CreditCard : public AutofillDataModel {
// The ResourceBundle ID for the appropriate credit card image.
static int IconResourceId(const std::string& type);
+ // The ResourceBundle ID for the appropriate credit card image in
+ // PaymentRequest.
+ static int PaymentRequestIconResourceId(const std::string& type);
+
// Returns the internal representation of credit card type corresponding to
// the given |number|. The credit card type is determined purely according to
// the Issuer Identification Number (IIN), a.k.a. the "Bank Identification

Powered by Google App Engine
This is Rietveld 408576698