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

Unified Diff: components/ntp_snippets/ntp_snippets_fetcher.h

Issue 1922463002: [NTP Snippets] Limit the number of snippets to 10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 8 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
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_fetcher.h
diff --git a/components/ntp_snippets/ntp_snippets_fetcher.h b/components/ntp_snippets/ntp_snippets_fetcher.h
index 1c0b7d4e7a109a0d741bd8ed4c7ea2a40ebcc9aa..39c48e5d138c6199550f11eb6b973e7759206992 100644
--- a/components/ntp_snippets/ntp_snippets_fetcher.h
+++ b/components/ntp_snippets/ntp_snippets_fetcher.h
@@ -42,7 +42,7 @@ class NTPSnippetsFetcher : public net::URLFetcherDelegate {
// Fetches snippets from the server. |hosts| can be used to restrict the
// results to a set of hosts, e.g. "www.google.com". If it is empty, no
// restrictions are applied.
- void FetchSnippets(const std::set<std::string>& hosts);
+ void FetchSnippets(const std::set<std::string>& hosts, int count);
private:
// URLFetcherDelegate implementation.
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698