Index: chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/suggestions/FakeSuggestionsSource.java |
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/suggestions/FakeSuggestionsSource.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/suggestions/FakeSuggestionsSource.java |
index b8d20edf55f010949396517c7516d6271de9606a..9209b63e636a7a0f346da70889fd0427cf971556 100644 |
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/suggestions/FakeSuggestionsSource.java |
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/suggestions/FakeSuggestionsSource.java |
@@ -11,7 +11,6 @@ |
import org.chromium.chrome.browser.ntp.cards.SuggestionsCategoryInfo; |
import org.chromium.chrome.browser.ntp.snippets.CategoryInt; |
import org.chromium.chrome.browser.ntp.snippets.CategoryStatus; |
-import org.chromium.chrome.browser.ntp.snippets.CategoryStatus.CategoryStatusEnum; |
import org.chromium.chrome.browser.ntp.snippets.SnippetArticle; |
import org.chromium.chrome.browser.ntp.snippets.SnippetsBridge; |
import org.chromium.chrome.browser.ntp.snippets.SuggestionsSource; |
@@ -46,7 +45,7 @@ |
/** |
* Sets the status to be returned for a given category. |
*/ |
- public void setStatusForCategory(@CategoryInt int category, @CategoryStatusEnum int status) { |
+ public void setStatusForCategory(@CategoryInt int category, @CategoryStatus int status) { |
mCategoryStatus.put(category, status); |
if (status == CategoryStatus.NOT_PROVIDED) { |
mCategories.remove(Integer.valueOf(category)); |
@@ -194,7 +193,7 @@ public void setObserver(Observer observer) { |
return result; |
} |
- @CategoryStatusEnum |
+ @CategoryStatus |
@Override |
public int getCategoryStatus(@CategoryInt int category) { |
return mCategoryStatus.get(category); |