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

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

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase Created 3 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
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 cfc78b9e24fa091e302e5b6fb709fb63b09d9b02..0fbe749f0ad9aa46576e88dbfc076e06433c5ce4 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
@@ -8,7 +8,6 @@
import org.chromium.base.Callback;
import org.chromium.chrome.browser.ntp.cards.SuggestionsCategoryInfo;
-import org.chromium.chrome.browser.ntp.snippets.CategoryStatus.CategoryStatusEnum;
import java.util.List;
@@ -27,7 +26,7 @@
void onMoreSuggestions(@CategoryInt int category, List<SnippetArticle> suggestions);
/** Called when a category changed its status. */
- void onCategoryStatusChanged(@CategoryInt int category, @CategoryStatusEnum int newStatus);
+ void onCategoryStatusChanged(@CategoryInt int category, @CategoryStatus int newStatus);
/**
* Called when a suggestion is invalidated, which means it needs to be removed from the UI
@@ -54,7 +53,7 @@
/**
* Gets the status of a category, possibly indicating the reason why it is disabled.
*/
- @CategoryStatusEnum
+ @CategoryStatus
int getCategoryStatus(int category);
/**

Powered by Google App Engine
This is Rietveld 408576698