| 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 c6cc695b0ff9d4e9179031272f9dcd401feeeeac..8d3f1854235d30157b602b4f848c0b1e99422fb5 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -259,7 +259,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,
|
| @@ -449,7 +449,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>(
|
| @@ -647,7 +647,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;
|
| }
|
|
|
|
|