| Index: chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java
|
| diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java
|
| index 8520679970a338c1968b91c110265f334a72c886..7d63b2c1201948d64e426602e61c00f904121953 100644
|
| --- a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java
|
| +++ b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java
|
| @@ -30,8 +30,13 @@ private ContentSuggestionsTestUtils() {}
|
|
|
| public static SuggestionsCategoryInfo createInfo(
|
| @CategoryInt int category, boolean moreButton, boolean showIfEmpty) {
|
| - return new SuggestionsCategoryInfo(
|
| - category, "", ContentSuggestionsCardLayout.FULL_CARD, moreButton, showIfEmpty, "");
|
| + return createInfo(category, false, true, moreButton, showIfEmpty);
|
| + }
|
| +
|
| + public static SuggestionsCategoryInfo createInfo(@CategoryInt int category, boolean moreAction,
|
| + boolean reloadAction, boolean viewAllAction, boolean showIfEmpty) {
|
| + return new SuggestionsCategoryInfo(category, "", ContentSuggestionsCardLayout.FULL_CARD,
|
| + moreAction, reloadAction, viewAllAction, showIfEmpty, "");
|
| }
|
|
|
| public static SuggestionsSection createSection(boolean moreButton, boolean showIfEmpty,
|
|
|