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

Unified Diff: content/browser/payments/payment_app_provider_impl.h

Issue 2718013004: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) (Closed)
Patch Set: rebase Created 3 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: content/browser/payments/payment_app_provider_impl.h
diff --git a/content/browser/payments/payment_app_provider_impl.h b/content/browser/payments/payment_app_provider_impl.h
index 83223aa49d8dcdf8bff7de72c8fbd87524b59546..a4b8278f99068c2dd37d1355328d9cce53e4b22c 100644
--- a/content/browser/payments/payment_app_provider_impl.h
+++ b/content/browser/payments/payment_app_provider_impl.h
@@ -5,18 +5,13 @@
#ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_PROVIDER_IMPL_H_
#define CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_PROVIDER_IMPL_H_
-#include <string>
-
#include "base/macros.h"
#include "base/memory/singleton.h"
-#include "components/payments/content/payment_app.mojom.h"
#include "content/common/content_export.h"
#include "content/public/browser/payment_app_provider.h"
namespace content {
-class BrowserContext;
-
class CONTENT_EXPORT PaymentAppProviderImpl : public PaymentAppProvider {
public:
static PaymentAppProviderImpl* GetInstance();
@@ -25,10 +20,10 @@ class CONTENT_EXPORT PaymentAppProviderImpl : public PaymentAppProvider {
// Should be accessed only on the UI thread.
void GetAllManifests(BrowserContext* browser_context,
const GetAllManifestsCallback& callback) override;
- void InvokePaymentApp(
- BrowserContext* browser_context,
- int64_t registration_id,
- payments::mojom::PaymentAppRequestPtr app_request) override;
+ void InvokePaymentApp(BrowserContext* browser_context,
+ int64_t registration_id,
+ payments::mojom::PaymentAppRequestPtr app_request,
+ const InvokePaymentAppCallback& callback) override;
private:
PaymentAppProviderImpl();
« no previous file with comments | « content/browser/payments/payment_app_content_unittest_base.cc ('k') | content/browser/payments/payment_app_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698