Index: content/public/browser/navigation_controller.h |
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h |
index 4ece52b3df2a8e9ec780379c87938f386fa81ccf..ffe2eaed6a0da892bd5c104e135d2b2949709001 100644 |
--- a/content/public/browser/navigation_controller.h |
+++ b/content/public/browser/navigation_controller.h |
@@ -268,7 +268,9 @@ class NavigationController { |
// committed entries. |
virtual NavigationEntry* GetLastCommittedEntry() const = 0; |
- // Returns the index of the last committed entry. |
+ // Returns the index of the last committed entry. It will be -1 if there are |
+ // no entries, or if there is a transient entry before the first entry |
+ // commits. |
virtual int GetLastCommittedEntryIndex() const = 0; |
// Returns true if the source for the current entry can be viewed. |