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 9ff914228203d2271ad19c622810816074762d54..c81842a4ea46692497fa1409144407c0c7688a31 100644 |
--- a/components/payments/content/payment_request_state.h |
+++ b/components/payments/content/payment_request_state.h |
@@ -12,6 +12,7 @@ |
#include "base/macros.h" |
#include "base/observer_list.h" |
#include "components/payments/content/payment_response_helper.h" |
+#include "components/payments/core/profile_util.h" |
#include "components/payments/mojom/payment_request.mojom.h" |
namespace autofill { |
@@ -145,6 +146,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 |
@@ -196,6 +201,8 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate { |
std::unique_ptr<PaymentResponseHelper> response_helper_; |
+ PaymentsProfileComparator profile_comparator_; |
+ |
base::ObserverList<Observer> observers_; |
DISALLOW_COPY_AND_ASSIGN(PaymentRequestState); |