| 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 e7341c7817508a18265b6ccf0f24f708ab4a098a..37917450adbd146f2c20490669f859d8ae1a8a54 100644
|
| --- a/ios/chrome/browser/payments/payment_request.h
|
| +++ b/ios/chrome/browser/payments/payment_request.h
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "components/payments/core/payment_options_provider.h"
|
| +#include "components/payments/core/payments_profile_comparator.h"
|
| #include "ios/web/public/payments/payment_request.h"
|
|
|
| namespace autofill {
|
| @@ -53,7 +54,7 @@ class PaymentRequest : payments::PaymentOptionsProvider {
|
| // Updates the payment details of the |web_payment_request_|. It also updates
|
| // the cached references to the shipping options in |web_payment_request_| as
|
| // well as the reference to the selected shipping option.
|
| - void set_payment_details(const web::PaymentDetails& details);
|
| + void UpdatePaymentDetails(const web::PaymentDetails& details);
|
|
|
| // PaymentOptionsProvider:
|
| bool request_shipping() const override;
|
| @@ -208,6 +209,8 @@ class PaymentRequest : payments::PaymentOptionsProvider {
|
| std::vector<web::PaymentShippingOption*> shipping_options_;
|
| web::PaymentShippingOption* selected_shipping_option_;
|
|
|
| + payments::PaymentsProfileComparator profile_comparator_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PaymentRequest);
|
| };
|
|
|
|
|