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; |