diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 03:25:11 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 03:25:11 +0000 |
commit | 7f0005ab19ca4e374029180753c32e4c9813303a (patch) | |
tree | f36e756a90ff4324530789c89aef6a2e2f3573b5 /chrome/browser/sessions/session_service.cc | |
parent | b237407befc41c3a19c7519523b102808213b49b (diff) | |
download | chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.zip chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.gz chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.bz2 |
Remove TabContentsType from the NavigationController external interface and in
some related areas. I removed all uses of this in the previous patch.
Review URL: http://codereview.chromium.org/73057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions/session_service.cc')
-rw-r--r-- | chrome/browser/sessions/session_service.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/sessions/session_service.cc b/chrome/browser/sessions/session_service.cc index 5edabd9..ba473c9 100644 --- a/chrome/browser/sessions/session_service.cc +++ b/chrome/browser/sessions/session_service.cc @@ -441,7 +441,7 @@ void SessionService::Observe(NotificationType type, } else { TabNavigationPathPrunedFromBack(controller->window_id(), controller->session_id(), - controller->GetEntryCount()); + controller->entry_count()); } break; } @@ -888,15 +888,15 @@ void SessionService::BuildCommandsForTab( const int min_index = std::max(0, current_index - max_persist_navigation_count); const int max_index = std::min(current_index + max_persist_navigation_count, - controller->GetEntryCount()); - const int pending_index = controller->GetPendingEntryIndex(); + controller->entry_count()); + const int pending_index = controller->pending_entry_index(); if (tab_to_available_range) { (*tab_to_available_range)[controller->session_id().id()] = std::pair<int, int>(min_index, max_index); } for (int i = min_index; i < max_index; ++i) { const NavigationEntry* entry = (i == pending_index) ? - controller->GetPendingEntry() : controller->GetEntryAtIndex(i); + controller->pending_entry() : controller->GetEntryAtIndex(i); DCHECK(entry); if (ShouldTrackEntry(*entry)) { commands->push_back( |