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

Unified Diff: chrome/browser/autocomplete/history_url_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_url_provider.cc
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
index 24aa7f0842d904faeb4a3e1cd17f8a493aca8b7b..c8a018c94e6092d9fa12822174530cfc347b9552 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -471,9 +471,12 @@ HistoryURLProviderParams::HistoryURLProviderParams(
HistoryURLProviderParams::~HistoryURLProviderParams() {
}
-HistoryURLProvider::HistoryURLProvider(AutocompleteProviderListener* listener,
- Profile* profile)
- : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_URL),
+HistoryURLProvider::HistoryURLProvider(
+ scoped_ptr<AutocompleteProviderClient> client,
+ AutocompleteProviderListener* listener,
+ Profile* profile)
+ : HistoryProvider(client.Pass(), AutocompleteProvider::TYPE_HISTORY_URL),
+ profile_(profile),
listener_(listener),
params_(NULL) {
// Initialize HUP scoring params based on the current experiment.

Powered by Google App Engine
This is Rietveld 408576698