| Index: chrome/browser/ui/views/payments/payment_request_dialog_view.h
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
|
| index 85db90324b11253965d6d63cadcc8c9bc9a1d168..63868e2a52c05ac46a5c6039e02b43ad90f4856c 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
|
| @@ -14,6 +14,11 @@
|
| #include "components/payments/content/payment_request_spec.h"
|
| #include "ui/views/window/dialog_delegate.h"
|
|
|
| +namespace autofill {
|
| +class AutofillProfile;
|
| +class CreditCard;
|
| +} // namespace autofill
|
| +
|
| namespace payments {
|
|
|
| class PaymentRequest;
|
| @@ -90,8 +95,10 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
|
| void ShowShippingProfileSheet();
|
| void ShowPaymentMethodSheet();
|
| void ShowShippingOptionSheet();
|
| - void ShowCreditCardEditor();
|
| - void ShowShippingAddressEditor();
|
| + // |credit_card| is the card to be edited, or nullptr for adding a card.
|
| + void ShowCreditCardEditor(autofill::CreditCard* credit_card = nullptr);
|
| + // |profile| is the address to be edited, or nullptr for adding an address.
|
| + void ShowShippingAddressEditor(autofill::AutofillProfile* profile = nullptr);
|
| void EditorViewUpdated();
|
|
|
| void ShowCvcUnmaskPrompt(
|
|
|