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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/FakeSuggestionsSource.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/FakeSuggestionsSource.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/FakeSuggestionsSource.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/FakeSuggestionsSource.java
index 84760a1c2d5a3a04e30a1ad0c3729c198c831949..2a60c30e905f768eff09b9cee8939e298215381d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/FakeSuggestionsSource.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/FakeSuggestionsSource.java
@@ -97,6 +97,9 @@ public class FakeSuggestionsSource implements SuggestionsSource {
}
@Override
+ public void fetchRemoteSuggestions() {}
+
+ @Override
public void dismissSuggestion(SnippetArticle suggestion) {
for (List<SnippetArticle> suggestions : mSuggestions.values()) {
suggestions.remove(suggestion);

Powered by Google App Engine
This is Rietveld 408576698