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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider.h

Issue 2570673004: Remove host restrictions from snippets (Closed)
Patch Set: rebase Created 4 years 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/ntp_snippets/remote/remote_suggestions_provider.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider.h b/components/ntp_snippets/remote/remote_suggestions_provider.h
index a4c2b7c179c08e9e31e2c99d458895caf35d1492..e5b2e6d2d68527dbdef6dee6707c088d4226dd99 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider.h
+++ b/components/ntp_snippets/remote/remote_suggestions_provider.h
@@ -102,12 +102,6 @@ class RemoteSuggestionsProvider final
// and request lower latency processing.
void FetchSnippetsForAllCategories();
- // Fetches snippets from the server for specified hosts and adds them to the
- // current ones. Only called from chrome://snippets-internals, DO NOT USE
- // otherwise! Ignored while ready() is false.
- void FetchSnippetsFromHosts(const std::set<std::string>& hosts,
- bool interactive_request);
-
const NTPSnippetsFetcher* snippets_fetcher() const {
return snippets_fetcher_.get();
}

Powered by Google App Engine
This is Rietveld 408576698