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

Unified Diff: components/omnibox/browser/zero_suggest_provider.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/zero_suggest_provider.h
diff --git a/components/omnibox/browser/zero_suggest_provider.h b/components/omnibox/browser/zero_suggest_provider.h
index ca1e0a6256f91603c9bd51837148c16c5c1395d6..be10c8c14a788483676839f9cfca2c01edfb3c00 100644
--- a/components/omnibox/browser/zero_suggest_provider.h
+++ b/components/omnibox/browser/zero_suggest_provider.h
@@ -116,6 +116,9 @@ class ZeroSuggestProvider : public BaseSearchProvider,
// function to return those |urls|.
void OnMostVisitedUrlsAvailable(const history::MostVisitedURLList& urls);
+ void OnContextualSuggestionsFetcherAvailable(
+ std::unique_ptr<net::URLFetcher> fetcher);
+
// Whether we can show zero suggest suggestions that are not based on
// |current_page_url|. Also checks that other conditions for non-contextual
// zero suggest are satisfied.

Powered by Google App Engine
This is Rietveld 408576698