| Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| index f5883e7da6c4fb06ddc44add0e14b215dd15d5ac..92a02cd7f92a6f8ffe3a0a5b79ede527513f4a73 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -255,7 +255,7 @@ class TestAutofillDialogController
|
| const FormData& form_structure,
|
| const GURL& source_url,
|
| const AutofillMetrics& metric_logger,
|
| - const base::Callback<void(const FormStructure*)>& callback,
|
| + const AutofillManagerDelegate::ResultCallback& callback,
|
| MockNewCreditCardBubbleController* mock_new_card_bubble_controller)
|
| : AutofillDialogControllerImpl(contents,
|
| form_structure,
|
| @@ -445,7 +445,7 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
|
| if (controller_)
|
| controller_->ViewClosed();
|
|
|
| - base::Callback<void(const FormStructure*)> callback =
|
| + AutofillManagerDelegate::ResultCallback callback =
|
| base::Bind(&AutofillDialogControllerTest::FinishedCallback,
|
| base::Unretained(this));
|
| controller_ = (new testing::NiceMock<TestAutofillDialogController>(
|
| @@ -643,7 +643,9 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
|
| }
|
|
|
| private:
|
| - void FinishedCallback(const FormStructure* form_structure) {
|
| + void FinishedCallback(
|
| + AutofillManagerDelegate::RequestAutocompleteResult result,
|
| + const FormStructure* form_structure) {
|
| form_structure_ = form_structure;
|
| }
|
|
|
|
|