| Index: components/payments/content/payment_request_state.h
|
| diff --git a/components/payments/content/payment_request_state.h b/components/payments/content/payment_request_state.h
|
| index 9749ca4507e84118770781eaad70fc69c241c6ec..ece3bc084541b1d6529cf14d2d1e9949adfad888 100644
|
| --- a/components/payments/content/payment_request_state.h
|
| +++ b/components/payments/content/payment_request_state.h
|
| @@ -14,6 +14,7 @@
|
| #include "components/payments/content/payment_request_spec.h"
|
| #include "components/payments/content/payment_response_helper.h"
|
| #include "components/payments/core/address_normalizer.h"
|
| +#include "components/payments/core/payments_profile_comparator.h"
|
| #include "components/payments/mojom/payment_request.mojom.h"
|
|
|
| namespace autofill {
|
| @@ -157,6 +158,10 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate,
|
|
|
| Delegate* delegate() { return delegate_; }
|
|
|
| + PaymentsProfileComparator* profile_comparator() {
|
| + return &profile_comparator_;
|
| + }
|
| +
|
| private:
|
| // Fetches the Autofill Profiles for this user from the PersonalDataManager,
|
| // and stores copies of them, owned by this PaymentRequestState, in
|
| @@ -211,6 +216,8 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate,
|
|
|
| std::unique_ptr<PaymentResponseHelper> response_helper_;
|
|
|
| + PaymentsProfileComparator profile_comparator_;
|
| +
|
| base::ObserverList<Observer> observers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PaymentRequestState);
|
|
|