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

Unified Diff: components/autofill/core/browser/test_autofill_external_delegate.cc

Issue 772253003: Create an autofill Suggestion class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years 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: components/autofill/core/browser/test_autofill_external_delegate.cc
diff --git a/components/autofill/core/browser/test_autofill_external_delegate.cc b/components/autofill/core/browser/test_autofill_external_delegate.cc
index 94e6b9ec8bc72bdc8be2c8dc36a778ab73aa159e..5aa80db1e6a66eea859e6cba73271e0c9c09484d 100644
--- a/components/autofill/core/browser/test_autofill_external_delegate.cc
+++ b/components/autofill/core/browser/test_autofill_external_delegate.cc
@@ -18,12 +18,9 @@ void GenerateTestAutofillPopup(
gfx::RectF bounds(100.f, 100.f);
autofill_external_delegate->OnQuery(query_id, form, field, bounds, false);
- std::vector<base::string16> autofill_item;
- autofill_item.push_back(base::string16());
- std::vector<int> autofill_id;
- autofill_id.push_back(0);
- autofill_external_delegate->OnSuggestionsReturned(
- query_id, autofill_item, autofill_item, autofill_item, autofill_id);
+ std::vector<Suggestion> suggestions;
+ suggestions.push_back(Suggestion());
+ autofill_external_delegate->OnSuggestionsReturned(query_id, suggestions);
}
} // namespace autofill
« no previous file with comments | « components/autofill/core/browser/test_autofill_client.cc ('k') | components/autofill/core/browser/webdata/autofill_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698