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

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

Issue 2245013003: Remove "list item" from Android NTP class names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x Created 4 years, 4 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: 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 2140655f69f68982373c7cc9f520ea4609a4eb43..4d4c3e511879a25980e9ef48de506fb9152608f5 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
@@ -49,24 +49,24 @@ public interface SuggestionsSource {
* displayed. If the status of the category is not one of the available statuses, this will
* return an empty list.
*/
- List<SnippetArticleListItem> getSuggestionsForCategory(int category);
+ List<SnippetArticle> getSuggestionsForCategory(int category);
/**
* Fetches the thumbnail image for a content suggestion. A null Bitmap is returned if no image
* is available. The callback is never called synchronously.
*/
- void fetchSuggestionImage(SnippetArticleListItem suggestion, Callback<Bitmap> callback);
+ void fetchSuggestionImage(SnippetArticle suggestion, Callback<Bitmap> callback);
/**
* Tells the source to dismiss the content suggestion.
*/
- void dismissSuggestion(SnippetArticleListItem suggestion);
+ void dismissSuggestion(SnippetArticle suggestion);
/**
* Checks whether a content suggestion has been visited. The callback is never called
* synchronously.
*/
- void getSuggestionVisited(SnippetArticleListItem suggestion, Callback<Boolean> callback);
+ void getSuggestionVisited(SnippetArticle suggestion, Callback<Boolean> callback);
/**
* Sets the recipient for update events from the source.
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java ('k') | chrome/android/java_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698