| Index: chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| index 907de5f075cf00aaa52743e65f3920a3cd56e131..09fc134884a4d2a13d38e34372383aaf84d7b559 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
| @@ -215,11 +215,14 @@ void PaymentRequestDialogView::ShowCvcUnmaskPrompt(
|
| }
|
|
|
| void PaymentRequestDialogView::ShowCreditCardEditor(
|
| + base::OnceClosure on_edited,
|
| + base::OnceCallback<void(const autofill::CreditCard&)> on_added,
|
| autofill::CreditCard* credit_card) {
|
| view_stack_.Push(
|
| CreateViewAndInstallController(
|
| base::MakeUnique<CreditCardEditorViewController>(
|
| - request_->spec(), request_->state(), this, credit_card),
|
| + request_->spec(), request_->state(), this, std::move(on_edited),
|
| + std::move(on_added), credit_card),
|
| &controller_map_),
|
| /* animate = */ true);
|
| if (observer_for_testing_)
|
|
|