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

Unified Diff: chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java

Issue 2396523002: Unify NewTabPageItem and ItemGroup into a single tree-structured interface. (Closed)
Patch Set: review Created 4 years, 2 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/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 bb67f077313e0f577e3b170af99ab76329f46d5d..11842ace0b9c46d558bb85e93123db4cbcc270ae 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
@@ -33,8 +33,8 @@ public final class ContentSuggestionsTestUtils {
}
public static SuggestionsSection createSection(
- boolean moreButton, boolean showIfEmpty, ItemGroup.Observer observer) {
+ boolean moreButton, boolean showIfEmpty, NodeParent parent) {
SuggestionsCategoryInfo info = createInfo(42, moreButton, showIfEmpty);
- return new SuggestionsSection(info, observer);
+ return new SuggestionsSection(parent, info);
}
}
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/InnerNodeTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698