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

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

Issue 2965173002: Add ContextualSuggestionsService to Omnibox (Closed)
Patch Set: 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..53883e6fd71295e66cfaf00d9739b18bb9f96e51 100644
--- a/components/omnibox/browser/autocomplete_provider_client.h
+++ b/components/omnibox/browser/autocomplete_provider_client.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
+#include "components/contextual_suggestions/contextual_suggestions_service.h"
Mark P 2017/07/07 20:13:54 forward declare; don't include
gcomanici 2017/07/07 21:24:46 Done.
#include "components/history/core/browser/keyword_id.h"
#include "components/history/core/browser/top_sites.h"
#include "components/metrics/proto/omnibox_event.pb.h"
@@ -60,6 +61,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