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

Unified Diff: content/public/browser/stored_payment_instrument.h

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)
Patch Set: address comments and add DEPS Created 3 years, 6 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: content/public/browser/stored_payment_instrument.h
diff --git a/content/public/browser/stored_payment_instrument.h b/content/public/browser/stored_payment_instrument.h
index 858e2c5067881bd10921910b5faaa4cab33a8642..5c0f64d97418019d6d1692ac3c40d714f872aeef 100644
--- a/content/public/browser/stored_payment_instrument.h
+++ b/content/public/browser/stored_payment_instrument.h
@@ -10,6 +10,7 @@
#include <vector>
#include "content/common/content_export.h"
+#include "third_party/skia/include/core/SkBitmap.h"
#include "url/gurl.h"
namespace content {
@@ -32,6 +33,9 @@ struct CONTENT_EXPORT StoredPaymentInstrument {
// Label for this payment instrument.
std::string name;
+ // Decoded icon for this payment instrument.
+ std::unique_ptr<SkBitmap> icon;
+
// A list of one or more payment method identifiers of the payment methods
// supported by this payment instrument.
std::vector<std::string> enabled_methods;

Powered by Google App Engine
This is Rietveld 408576698