Index: chrome/browser/ui/views/payments/payment_request_views_util.h |
diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.h b/chrome/browser/ui/views/payments/payment_request_views_util.h |
index a6a2ef0473751488a294e5b9a3864b86b86e155f..4561a71dcc9b6e08c9580f6c2a6844c95bf516e1 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h |
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h |
@@ -26,6 +26,7 @@ class View; |
namespace payments { |
class PaymentOptionsProvider; |
+class PaymentsProfileComparator; |
enum class PaymentShippingType; |
constexpr int kPaymentRequestRowHorizontalInsets = 16; |
@@ -80,7 +81,9 @@ enum class AddressStyleType { SUMMARY, DETAILED }; |
std::unique_ptr<views::View> GetShippingAddressLabel( |
AddressStyleType type, |
const std::string& locale, |
- const autofill::AutofillProfile& profile); |
+ const autofill::AutofillProfile& profile, |
+ const PaymentOptionsProvider& options, |
+ const PaymentsProfileComparator& comp); |
// Extracts and formats descriptive text from the given |profile| to represent |
// the contact info in the context specified by |type|. Includes/excludes name, |
@@ -89,7 +92,8 @@ std::unique_ptr<views::View> GetContactInfoLabel( |
AddressStyleType type, |
const std::string& locale, |
const autofill::AutofillProfile& profile, |
- const PaymentOptionsProvider& options); |
+ const PaymentOptionsProvider& options, |
+ const PaymentsProfileComparator& comp); |
// Creates a views::Border object that can paint the gray horizontal ruler used |
// as a separator between items in the Payment Request dialog. |