Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NodeParent.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NodeParent.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NodeParent.java |
index 533e6f4981190f0d8c0b030e28524adfcc66fb57..963e28c82015b4144cded4ed8bd6a93587fc5403 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NodeParent.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NodeParent.java |
@@ -10,14 +10,15 @@ |
public interface NodeParent { |
/** |
* Notifies that {@code count} items starting at position {@code index} under the {@code child} |
- * have changed. |
+ * have changed with an optional payload object. |
* @param child The child whose items have changed. |
* @param index The starting position of the range of changed items, relative to the |
* {@code child}. |
* @param count The number of changed items. |
- * @see android.support.v7.widget.RecyclerView.Adapter#notifyItemRangeChanged(int, int) |
+ * @param payload Optional parameter, use {@code null} to identify a "full" update. |
+ * @see android.support.v7.widget.RecyclerView.Adapter#notifyItemRangeChanged(int, int, Object) |
*/ |
- void onItemRangeChanged(TreeNode child, int index, int count); |
+ void onItemRangeChanged(TreeNode child, int index, int count, Object payload); |
/** |
* Notifies that {@code count} items starting at position {@code index} under the {@code child} |