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

Unified Diff: chrome/browser/autocomplete/search_provider_unittest.cc

Issue 1192373002: Prepare AutocompleteController for componentization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@componentize_zero_suggest_provider
Patch Set: Remove stale include Created 5 years, 6 months 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/search_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc
index e65963786a6beed66352280d3521ff13efbb22d0..d5b8176a2768dafcbdf0dc1a2d349e04ad41872c 100644
--- a/chrome/browser/autocomplete/search_provider_unittest.cc
+++ b/chrome/browser/autocomplete/search_provider_unittest.cc
@@ -1128,9 +1128,9 @@ TEST_F(SearchProviderTest, KeywordOrderingAndDescriptions) {
AddSearchToHistory(keyword_t_url_, ASCIIToUTF16("term2"), 1);
profile_.BlockUntilHistoryProcessesPendingRequests();
- AutocompleteController controller(&profile_,
- TemplateURLServiceFactory::GetForProfile(&profile_),
- NULL, AutocompleteProvider::TYPE_SEARCH);
+ AutocompleteController controller(
+ make_scoped_ptr(new ChromeAutocompleteProviderClient(&profile_)), NULL,
Peter Kasting 2015/06/19 19:19:21 Nit: While here: nullptr
blundell 2015/06/22 09:01:36 Done.
+ AutocompleteProvider::TYPE_SEARCH);
controller.Start(AutocompleteInput(
ASCIIToUTF16("k t"), base::string16::npos, std::string(), GURL(),
metrics::OmniboxEventProto::INVALID_SPEC, false, false, true, true, false,

Powered by Google App Engine
This is Rietveld 408576698