Chromium Code Reviews| 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..7a22b74768c72bffbb4678ef68e3295a1f1014dc 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,15 @@ 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|. |
|
Charlie Reis
2014/10/29 20:20:55
Can you also update this to reflect https://codere
Jaekyun Seok (inactive)
2014/10/30 04:42:34
Done.
|
| + * @return false, if the index is the last committed index or the pending entry. |
| + */ |
| + public boolean removeEntryAtIndex(int index); |
| } |