Index: chrome/browser/autocomplete_history_manager_unittest.cc |
diff --git a/chrome/browser/autocomplete_history_manager_unittest.cc b/chrome/browser/autocomplete_history_manager_unittest.cc |
index 6a1047e4c235e6d816d3258e17552d7569b04b58..b0e5cc30079d76ff64003da3d805f879cb2e9a2c 100644 |
--- a/chrome/browser/autocomplete_history_manager_unittest.cc |
+++ b/chrome/browser/autocomplete_history_manager_unittest.cc |
@@ -146,7 +146,8 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate { |
virtual void OnQuery(int query_id, |
const webkit_glue::FormData& form, |
- const webkit_glue::FormField& field) {} |
+ const webkit_glue::FormField& field, |
+ bool display_warning) OVERRIDE {} |
MOCK_METHOD5(OnSuggestionsReturned, |
void(int query_id, |
const std::vector<string16>& autofill_values, |
@@ -154,6 +155,13 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate { |
const std::vector<string16>& autofill_icons, |
const std::vector<int>& autofill_unique_ids)); |
+ virtual void ApplyAutofillSuggestions( |
+ const std::vector<string16>& autofill_values, |
+ const std::vector<string16>& autofill_labels, |
+ const std::vector<string16>& autofill_icons, |
+ const std::vector<int>& autofill_unique_ids, |
+ int separator_index) OVERRIDE {} |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(MockAutofillExternalDelegate); |
}; |
@@ -186,4 +194,3 @@ TEST_F(AutocompleteHistoryManagerTest, ExternalDelegate) { |
// Should trigger a call to OnSuggestionsReturned, verified by the mock. |
autocomplete_history_manager.SendSuggestions(NULL); |
} |
- |