Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: chrome/browser/autocomplete_history_manager_unittest.cc

Issue 8488011: Moving AutofillAgent Logic into Browser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Uncommenting HideAutofillPopup call Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4f537248301f4851e6f9f4a95af4edef76663c57..23c13eb8e7a65cd3356bcf04f48c361f1945b707 100644
--- a/chrome/browser/autocomplete_history_manager_unittest.cc
+++ b/chrome/browser/autocomplete_history_manager_unittest.cc
@@ -148,7 +148,9 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate {
virtual void OnQuery(int query_id,
const webkit_glue::FormData& form,
const webkit_glue::FormField& field,
- const gfx::Rect& bounds) OVERRIDE {}
+ const gfx::Rect& bounds,
+ bool display_warning) OVERRIDE {}
+
MOCK_METHOD5(OnSuggestionsReturned,
void(int query_id,
const std::vector<string16>& autofill_values,
@@ -158,6 +160,19 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate {
virtual void HideAutofillPopup() OVERRIDE {}
+
+ 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 {}
+
+ virtual void OnQueryPlatformSpecific(
+ int query_id,
+ const webkit_glue::FormData& form,
+ const webkit_glue::FormField& field) OVERRIDE {}
+
private:
DISALLOW_COPY_AND_ASSIGN(MockAutofillExternalDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698