Index: content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java |
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java |
index d9c18690cb9d7a2eb9d74ddf54b2a01b278ffa06..13ec1892d5a45d982d0e963633ec2ec143097302 100644 |
--- a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java |
@@ -141,4 +141,16 @@ public interface NavigationController { |
* exists. |
*/ |
public NavigationEntry getPendingEntry(); |
+ |
+ /** |
+ * @return The index of the last committed entry. |
+ */ |
+ public int getLastCommittedEntryIndex(); |
+ |
+ /** |
+ * Removes the entry at the specified |index|. |
+ * @return false, if the index is the last committed index or the pending entry. Otherwise this |
+ * call discards any transient or pending entries. |
+ */ |
+ public boolean removeEntryAtIndex(int index); |
} |