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

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

Issue 1185723002: Prepare HistoryProvider for componentization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix 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/history_quick_provider.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc
index 96c763b0044465347582e03ae702d2ce3a21ee7b..ff86cd6330f0c0cf609f8ac3e01769340431ac55 100644
--- a/chrome/browser/autocomplete/history_quick_provider.cc
+++ b/chrome/browser/autocomplete/history_quick_provider.cc
@@ -47,9 +47,11 @@
bool HistoryQuickProvider::disabled_ = false;
HistoryQuickProvider::HistoryQuickProvider(
+ scoped_ptr<AutocompleteProviderClient> client,
Profile* profile,
InMemoryURLIndex* in_memory_url_index)
- : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_QUICK),
+ : HistoryProvider(client.Pass(), AutocompleteProvider::TYPE_HISTORY_QUICK),
+ profile_(profile),
languages_(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)),
in_memory_url_index_(in_memory_url_index) {
}

Powered by Google App Engine
This is Rietveld 408576698