Index: chrome/browser/tab_contents/navigation_controller.h |
=================================================================== |
--- chrome/browser/tab_contents/navigation_controller.h (revision 14058) |
+++ chrome/browser/tab_contents/navigation_controller.h (working copy) |
@@ -428,6 +428,15 @@ |
// The new entry will become the active one. |
void InsertEntry(NavigationEntry* entry); |
+ // Replaces the current entry with a new one, removing all entries after it. |
+ // The new entry will become the active one. |
+ void ReplaceCurrentEntry(NavigationEntry* entry); |
+ |
+ // Inserts a new entry or replaces the current entry with a new one, removing |
+ // all entries after it. The new entry will become the active one. |
+ void InsertOrReplaceEntry(NavigationEntry* entry, |
+ bool replace); |
+ |
// Discards the pending and transient entries. |
void DiscardNonCommittedEntriesInternal(); |