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

Unified Diff: components/omnibox/browser/autocomplete_provider_client.h

Issue 2965173002: Add ContextualSuggestionsService to Omnibox (Closed)
Patch Set: Move contextual suggestions service to c/o/b Created 3 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: components/omnibox/browser/autocomplete_provider_client.h
diff --git a/components/omnibox/browser/autocomplete_provider_client.h b/components/omnibox/browser/autocomplete_provider_client.h
index 63e818b115f4532205fac7c7ad7d35ea1b9dcb2c..cf8c399640b2c85444faf4163d92b0457f4c6751 100644
--- a/components/omnibox/browser/autocomplete_provider_client.h
+++ b/components/omnibox/browser/autocomplete_provider_client.h
@@ -29,6 +29,10 @@ namespace bookmarks {
class BookmarkModel;
}
+namespace contextual_suggestions {
+class ContextualSuggestionsService;
+}
+
namespace history {
class HistoryService;
class URLDatabase;
@@ -60,6 +64,8 @@ class AutocompleteProviderClient {
virtual InMemoryURLIndex* GetInMemoryURLIndex() = 0;
virtual TemplateURLService* GetTemplateURLService() = 0;
virtual const TemplateURLService* GetTemplateURLService() const = 0;
+ virtual contextual_suggestions::ContextualSuggestionsService*
+ GetContextualSuggestionsService() const = 0;
virtual const SearchTermsData& GetSearchTermsData() const = 0;
virtual scoped_refptr<ShortcutsBackend> GetShortcutsBackend() = 0;
virtual scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() = 0;

Powered by Google App Engine
This is Rietveld 408576698