| Index: chrome/browser/tab_contents/navigation_controller.h
|
| diff --git a/chrome/browser/tab_contents/navigation_controller.h b/chrome/browser/tab_contents/navigation_controller.h
|
| index 574425a16300be471a685f6125f9cdf8c7a8ecf5..24a206f192fb55ee10ab96ec5d37d2d972cd6639 100644
|
| --- a/chrome/browser/tab_contents/navigation_controller.h
|
| +++ b/chrome/browser/tab_contents/navigation_controller.h
|
| @@ -374,6 +374,10 @@ class NavigationController {
|
| // This ignores the transient index of the source and honors that of 'this'.
|
| void CopyStateFromAndPrune(const NavigationController& source);
|
|
|
| + // Removes all the entries except the active entry. If there is a new pending
|
| + // navigation it is preserved.
|
| + void PruneAllButActive();
|
| +
|
| // Random data ---------------------------------------------------------------
|
|
|
| // Returns the identifier used by session restore.
|
| @@ -517,10 +521,6 @@ class NavigationController {
|
| const std::vector<TabNavigation>& navigations,
|
| std::vector<linked_ptr<NavigationEntry> >* entries);
|
|
|
| - // Removes all the entries except the active entry. If there is a new pending
|
| - // navigation it is preserved.
|
| - void PruneAllButActive();
|
| -
|
| // Inserts up to |max_index| entries from |source| into this. This does NOT
|
| // adjust any of the members that reference entries_
|
| // (last_committed_entry_index_, pending_entry_index_ or
|
|
|