| 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 575a567fe2bc61c356f9e939f9835e251107579b..eb832131b19699a5d4de606e237734c5e618068f 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_views_util.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
|
| @@ -25,6 +25,9 @@ class View;
|
|
|
| namespace payments {
|
|
|
| +class PaymentOptionsProvider;
|
| +enum class PaymentShippingType;
|
| +
|
| constexpr int kPaymentRequestRowHorizontalInsets = 16;
|
| constexpr int kPaymentRequestRowVerticalInsets = 8;
|
|
|
| @@ -80,9 +83,7 @@ std::unique_ptr<views::View> GetContactInfoLabel(
|
| AddressStyleType type,
|
| const std::string& locale,
|
| const autofill::AutofillProfile& profile,
|
| - bool show_payer_name,
|
| - bool show_payer_phone,
|
| - bool show_payer_email);
|
| + const PaymentOptionsProvider& options);
|
|
|
| // Creates a views::Border object that can paint the gray horizontal ruler used
|
| // as a separator between items in the Payment Request dialog.
|
| @@ -92,9 +93,9 @@ std::unique_ptr<views::Border> CreatePaymentRequestRowBorder();
|
| std::unique_ptr<views::Label> CreateBoldLabel(const base::string16& text);
|
|
|
| base::string16 GetShippingAddressSectionString(
|
| - payments::mojom::PaymentShippingType shipping_type);
|
| + PaymentShippingType shipping_type);
|
| base::string16 GetShippingOptionSectionString(
|
| - payments::mojom::PaymentShippingType shipping_type);
|
| + PaymentShippingType shipping_type);
|
|
|
| std::unique_ptr<views::View> CreateShippingOptionLabel(
|
| payments::mojom::PaymentShippingOption* shipping_option,
|
|
|