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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java

Issue 2515713002: Move fetching new suggestions for all categories to the SuggestionsSource. (Closed)
Patch Set: x Created 4 years, 1 month 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: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java
index 292ffa450e3ffc0cb168c1525d1aeb018f502841..d298b1fd4afd3c32f40d0aee696096fde63b8bbc 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java
@@ -38,6 +38,11 @@ public interface SuggestionsSource {
}
/**
+ * Fetches new snippets for all remote categories.
+ */
+ void fetchRemoteSuggestions();
+
+ /**
* Gets the categories in the order in which they should be displayed.
* @return The categories.
*/

Powered by Google App Engine
This is Rietveld 408576698