summaryrefslogtreecommitdiffstats
path: root/chrome/browser/session_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/session_service.h')
-rw-r--r--chrome/browser/session_service.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/chrome/browser/session_service.h b/chrome/browser/session_service.h
index aa2779f..4ce39cd 100644
--- a/chrome/browser/session_service.h
+++ b/chrome/browser/session_service.h
@@ -236,10 +236,17 @@ class SessionService : public CancelableRequestProvider,
// (should_track_changes_for_browser_type returns true).
void SetWindowType(const SessionID& window_id, BrowserType::Type type);
- // Removes the navigation entries for tab_id whose indices are >= index.
- void TabNavigationPathPruned(const SessionID& window_id,
- const SessionID& tab_id,
- int index);
+ // Invoked when the NavigationController has removed entries from the back of
+ // the list. |count| gives the number of entries in the navigation controller.
+ void TabNavigationPathPrunedFromBack(const SessionID& window_id,
+ const SessionID& tab_id,
+ int count);
+
+ // Invoked when the NavigationController has removed entries from the front of
+ // the list. |count| gives the number of entries that were removed.
+ void TabNavigationPathPrunedFromFront(const SessionID& window_id,
+ const SessionID& tab_id,
+ int count);
// Updates the navigation entry for the specified tab.
void UpdateTabNavigation(const SessionID& window_id,