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

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

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: 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: 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 ae8f03a22c784cbed54740e8fde7bc0e0a9f75b6..4fe9122a21fa281350761662f053789a27f23fb6 100644
--- a/chrome/browser/payments/chrome_payment_request_delegate.h
+++ b/chrome/browser/payments/chrome_payment_request_delegate.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
#define CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
+#include <string>
sebsg 2017/03/29 20:53:31 needed?
anthonyvd 2017/03/29 20:59:37 Yeah, "include what you need" for GetApplicationLo
sebsg 2017/03/29 21:12:01 (-_-') I actually looked for a string in the file
+
#include "base/macros.h"
#include "components/payments/content/payment_request_delegate.h"
@@ -28,6 +30,12 @@ class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
const std::string& GetApplicationLocale() const override;
bool IsIncognito() const override;
+ // AutofillPaymentInstrument::FullCardRequestDelegate:
+ 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
// reference is invalid once CloseDialog() has been called on it, because the

Powered by Google App Engine
This is Rietveld 408576698