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

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

Issue 1185723002: Prepare HistoryProvider for componentization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review 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.h
diff --git a/chrome/browser/autocomplete/history_quick_provider.h b/chrome/browser/autocomplete/history_quick_provider.h
index 95ee9e7bd24d0788a710216ba4e4cb50438720e2..b31f05eda76ec2649e66c928d30c3641cf24af48 100644
--- a/chrome/browser/autocomplete/history_quick_provider.h
+++ b/chrome/browser/autocomplete/history_quick_provider.h
@@ -24,7 +24,9 @@ struct ScoredHistoryMatch;
// history.
class HistoryQuickProvider : public HistoryProvider {
public:
- HistoryQuickProvider(Profile* profile, InMemoryURLIndex* in_memory_url_index);
+ HistoryQuickProvider(AutocompleteProviderClient* client,
+ Profile* profile,
+ InMemoryURLIndex* in_memory_url_index);
// AutocompleteProvider. |minimal_changes| is ignored since there is no asynch
// completion performed.
@@ -54,6 +56,7 @@ class HistoryQuickProvider : public HistoryProvider {
AutocompleteMatch QuickMatchToACMatch(const ScoredHistoryMatch& history_match,
int score);
+ Profile* profile_;
AutocompleteInput autocomplete_input_;
std::string languages_;
InMemoryURLIndex* in_memory_url_index_; // Not owned by this class.
« no previous file with comments | « chrome/browser/autocomplete/history_provider.cc ('k') | chrome/browser/autocomplete/history_quick_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698