| Index: components/autofill/content/browser/request_autocomplete_manager_unittest.cc
|
| diff --git a/components/autofill/content/browser/request_autocomplete_manager_unittest.cc b/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
|
| index cbe3c5d3bfcde51187952d4437928bc50ccabed4..a1cf2596cb44547860dfe37b83d1acb3d79074ed 100644
|
| --- a/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
|
| +++ b/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
|
| @@ -48,12 +48,13 @@ class CustomTestAutofillManagerDelegate : public TestAutofillManagerDelegate {
|
| virtual void ShowRequestAutocompleteDialog(
|
| const FormData& form,
|
| const GURL& source_url,
|
| - const base::Callback<void(const FormStructure*)>& callback) OVERRIDE {
|
| + const ResultCallback& callback) OVERRIDE {
|
| if (should_simulate_success_) {
|
| FormStructure form_structure(form);
|
| - callback.Run(&form_structure);
|
| + callback.Run(AutocompleteResultSuccess, &form_structure);
|
| } else {
|
| - callback.Run(NULL);
|
| + callback.Run(AutofillManagerDelegate::AutocompleteResultErrorDisabled,
|
| + NULL);
|
| }
|
| }
|
|
|
|
|