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

Unified Diff: components/payments/content/payment_request_dialog.h

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: Update AutofillPaymentInstrument's credit_card_ after unmasking. 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: components/payments/content/payment_request_dialog.h
diff --git a/components/payments/content/payment_request_dialog.h b/components/payments/content/payment_request_dialog.h
index 8859167c9f06ef360a6513bbc571c830c2f75da2..140b8f00e07380c1335b4029aea170aa115ddf55 100644
--- a/components/payments/content/payment_request_dialog.h
+++ b/components/payments/content/payment_request_dialog.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_
#define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_
+#include "components/autofill/core/browser/payments/full_card_request.h"
+
namespace payments {
// Used to interact with a cross-platform Payment Request dialog.
@@ -17,6 +19,9 @@ class PaymentRequestDialog {
virtual void CloseDialog() = 0;
virtual void ShowErrorMessage() = 0;
+
+ virtual base::WeakPtr<autofill::payments::FullCardRequest::UIDelegate>
please use gerrit instead 2017/03/30 13:14:09 Need to include the weakptr header.
anthonyvd 2017/03/30 15:43:41 Done.
+ GetFullCardRequestUIDelegate() = 0;
};
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698