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

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

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: rename and comments Created 3 years, 5 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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/stored_payment_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/payment_app_provider.h
diff --git a/content/public/browser/payment_app_provider.h b/content/public/browser/payment_app_provider.h
index 6572aea1578f20abd22cd509ea4b45a044bfa5d4..54a9a97dc1e18af71f665a6953295caaddd4bff4 100644
--- a/content/public/browser/payment_app_provider.h
+++ b/content/public/browser/payment_app_provider.h
@@ -12,7 +12,7 @@
#include "base/callback_forward.h"
#include "content/common/content_export.h"
-#include "content/public/browser/stored_payment_instrument.h"
+#include "content/public/browser/stored_payment_app.h"
#include "third_party/WebKit/public/platform/modules/payments/payment_app.mojom.h"
namespace content {
@@ -32,9 +32,7 @@ class CONTENT_EXPORT PaymentAppProvider {
// Please see: content/browser/payments/payment_app_provider_impl.cc
static PaymentAppProvider* GetInstance();
- using Instruments = std::vector<std::unique_ptr<StoredPaymentInstrument>>;
- using PaymentApps = std::map<GURL, Instruments>;
-
+ using PaymentApps = std::map<GURL, std::unique_ptr<StoredPaymentApp>>;
using GetAllPaymentAppsCallback = base::OnceCallback<void(PaymentApps)>;
using InvokePaymentAppCallback =
base::Callback<void(payments::mojom::PaymentAppResponsePtr)>;
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/stored_payment_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698