| Index: ios/chrome/browser/payments/payment_request.mm
|
| diff --git a/ios/chrome/browser/payments/payment_request.mm b/ios/chrome/browser/payments/payment_request.mm
|
| index 758d93c0ededc6d3b33ff693149e60e7e9ec8be1..2f6bc47798872572c56d91bfe157b1087f16b86f 100644
|
| --- a/ios/chrome/browser/payments/payment_request.mm
|
| +++ b/ios/chrome/browser/payments/payment_request.mm
|
| @@ -14,7 +14,6 @@
|
| #include "components/autofill/core/browser/region_data_loader_impl.h"
|
| #include "components/payments/core/currency_formatter.h"
|
| #include "components/payments/core/payment_request_data_util.h"
|
| -#include "components/payments/core/payments_profile_comparator.h"
|
| #include "ios/chrome/browser/application_context.h"
|
| #include "ios/chrome/browser/autofill/validation_rules_storage_factory.h"
|
| #include "ios/web/public/payments/payment_request.h"
|
| @@ -182,6 +181,10 @@ autofill::CreditCard* PaymentRequest::AddCreditCard(
|
| return credit_card_cache_.back().get();
|
| }
|
|
|
| +payments::PaymentsProfileComparator* PaymentRequest::profile_comparator() {
|
| + return &profile_comparator_;
|
| +}
|
| +
|
| bool PaymentRequest::CanMakePayment() const {
|
| return !credit_cards_.empty();
|
| }
|
|
|