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

Unified Diff: chrome/browser/payments/chrome_payment_request_delegate.h

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: BUILD Created 3 years, 8 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 | « no previous file | chrome/browser/payments/chrome_payment_request_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/payments/chrome_payment_request_delegate.h
diff --git a/chrome/browser/payments/chrome_payment_request_delegate.h b/chrome/browser/payments/chrome_payment_request_delegate.h
index 9d955bf5ceb332195c21b7c8fe58bf34cd0ee39b..d2d692510e738d603501adefea5a62bd78f48b4a 100644
--- a/chrome/browser/payments/chrome_payment_request_delegate.h
+++ b/chrome/browser/payments/chrome_payment_request_delegate.h
@@ -5,8 +5,10 @@
#ifndef CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
#define CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
+#include <string>
+
#include "base/macros.h"
-#include "components/payments/content/payment_request_delegate.h"
+#include "components/payments/core/payment_request_delegate.h"
namespace content {
class WebContents;
@@ -14,7 +16,6 @@ class WebContents;
namespace payments {
-class PaymentRequest;
class PaymentRequestDialog;
class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
@@ -22,12 +23,17 @@ class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
explicit ChromePaymentRequestDelegate(content::WebContents* web_contents);
~ChromePaymentRequestDelegate() override {}
+ // PaymentRequestDelegate:
void ShowDialog(PaymentRequest* request) override;
void CloseDialog() override;
void ShowErrorMessage() override;
autofill::PersonalDataManager* GetPersonalDataManager() override;
const std::string& GetApplicationLocale() const override;
bool IsIncognito() const override;
+ void DoFullCardRequest(
+ const autofill::CreditCard& credit_card,
+ base::WeakPtr<autofill::payments::FullCardRequest::ResultDelegate>
+ result_delegate) override;
protected:
// Reference to the dialog so that we can satisfy calls to CloseDialog(). This
« no previous file with comments | « no previous file | chrome/browser/payments/chrome_payment_request_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698