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

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

Issue 388203002: Remove listener_ from AutocompleteProvider base class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 e60871efbcc9da1449289215f96b38a10f036924..7d3dd0a2af174f6a3e482d03d4197a19e803137b 100644
--- a/chrome/browser/autocomplete/history_quick_provider.cc
+++ b/chrome/browser/autocomplete/history_quick_provider.cc
@@ -51,11 +51,8 @@ using history::ScoredHistoryMatches;
bool HistoryQuickProvider::disabled_ = false;
-HistoryQuickProvider::HistoryQuickProvider(
- AutocompleteProviderListener* listener,
- Profile* profile)
- : HistoryProvider(listener, profile,
- AutocompleteProvider::TYPE_HISTORY_QUICK),
+HistoryQuickProvider::HistoryQuickProvider(Profile* profile)
+ : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_QUICK),
languages_(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)) {
}
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider.h ('k') | chrome/browser/autocomplete/history_quick_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698