diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
commit | b680ad2269af98da01b992e15130e18bfcb7783c (patch) | |
tree | d20c4bf1b3eec9ba7cc761b5a93985eccbe22ed8 /chrome/browser/sessions | |
parent | 7fd4cc37ca4361f04bb45da1ec06210e84c7c303 (diff) | |
download | chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.zip chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.gz chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.bz2 |
Remove TabContnetsType from everywhere.
I also removed the notion of the "active" tab contents since there is only one
per tab now, and all the messages to replace them.
Review URL: http://codereview.chromium.org/67173
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r-- | chrome/browser/sessions/session_service_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/browser/sessions/session_types.cc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/sessions/session_service_unittest.cc b/chrome/browser/sessions/session_service_unittest.cc index 1493864..82558c3 100644 --- a/chrome/browser/sessions/session_service_unittest.cc +++ b/chrome/browser/sessions/session_service_unittest.cc @@ -46,7 +46,7 @@ class SessionServiceTest : public testing::Test { const TabNavigation& navigation, int index, bool select) { - NavigationEntry entry(TAB_CONTENTS_UNKNOWN_TYPE); + NavigationEntry entry; entry.set_url(navigation.url()); entry.set_referrer(navigation.referrer()); entry.set_title(navigation.title()); diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc index b6372ad..3483228 100644 --- a/chrome/browser/sessions/session_types.cc +++ b/chrome/browser/sessions/session_types.cc @@ -12,7 +12,6 @@ // static NavigationEntry* TabNavigation::ToNavigationEntry(int page_id) const { NavigationEntry* entry = new NavigationEntry( - TAB_CONTENTS_WEB, NULL, // The site instance for restored tabs is sent on navigation // (WebContents::GetSiteInstanceForEntry). page_id, |