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

Unified Diff: components/ntp_snippets/content_suggestions_service.h

Issue 2421463002: FetchMore functionality backend (Closed)
Patch Set: Strategy pattern to handle differences in fetching procedure. Created 4 years, 2 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/ntp_snippets/content_suggestions_service.h
diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h
index 928a3a04151d9eb0adc2e5ff7c0a4410834a5be2..bea462a9868a7fba4c41632b41da6795923fe980 100644
--- a/components/ntp_snippets/content_suggestions_service.h
+++ b/components/ntp_snippets/content_suggestions_service.h
@@ -129,6 +129,10 @@ class ContentSuggestionsService : public KeyedService,
// This will not trigger an update through the observers.
void RestoreDismissedCategories();
+ // Manually triggers the provider of the category to fetch content that is not
+ // already loaded.
Marc Treib 2016/10/18 08:17:45 This shouldn't talk about providers - users of thi
fhorschig 2016/10/20 13:10:38 Done.
+ void FetchMore(Category category) ;
+
// Observer accessors.
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);

Powered by Google App Engine
This is Rietveld 408576698