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

Unified Diff: ios/chrome/browser/payments/payment_request.h

Issue 2929673003: [Payment Request] Invalidates cached autofill profile after it is updated. (Closed)
Patch Set: Addressed comment Created 3 years, 6 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: ios/chrome/browser/payments/payment_request.h
diff --git a/ios/chrome/browser/payments/payment_request.h b/ios/chrome/browser/payments/payment_request.h
index 8bc25f60ba7fb68e31566c0a114ee33392b78fe8..bbbd8bb8132e13fddae9ea3c2612222e786f864e 100644
--- a/ios/chrome/browser/payments/payment_request.h
+++ b/ios/chrome/browser/payments/payment_request.h
@@ -31,7 +31,7 @@ class CurrencyFormatter;
// |personal_data_manager| and manages shared resources and user selections for
// the current PaymentRequest flow. It must be initialized with a non-null
// instance of |personal_data_manager| that outlives this class.
-class PaymentRequest : payments::PaymentOptionsProvider {
+class PaymentRequest : public payments::PaymentOptionsProvider {
public:
// |personal_data_manager| should not be null and should outlive this object.
PaymentRequest(const web::PaymentRequest& web_payment_request,
@@ -160,6 +160,8 @@ class PaymentRequest : payments::PaymentOptionsProvider {
return selected_shipping_option_;
}
+ virtual payments::PaymentsProfileComparator* profile_comparator();
+
// Returns whether the current PaymentRequest can be used to make a payment.
bool CanMakePayment() const;
« no previous file with comments | « components/payments/core/payments_profile_comparator.h ('k') | ios/chrome/browser/payments/payment_request.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698