summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 22:45:39 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 22:45:39 +0000
commitd8375fdbe8d32ad3562152ecd53378383e393971 (patch)
tree8c8f3e524fb5e600095368e982e5730916259453 /chrome/browser/browsing_data_remover.cc
parentec9f22cd4e7151ab3c3eb6ba47885bd75d342ae3 (diff)
downloadchromium_src-d8375fdbe8d32ad3562152ecd53378383e393971.zip
chromium_src-d8375fdbe8d32ad3562152ecd53378383e393971.tar.gz
chromium_src-d8375fdbe8d32ad3562152ecd53378383e393971.tar.bz2
Changes tab restore service to handle restoring closed windows as a
single unit. Sadly I've written another ui test. Lets hope it isn't flakey. Glen is going to change the NTP to deal with this appropriately. BUG=4686 TEST=Try closing a window (with more than one window open), hitting control-shift-t, and make sure the window and all it's tabs comes back. Review URL: http://codereview.chromium.org/11377 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index 41aa9ae..e0cdc68 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -78,7 +78,7 @@ void BrowsingDataRemover::Remove(int remove_mask) {
// they can't be more than a day old, so we can simply clear them all.
TabRestoreService* tab_service = profile_->GetTabRestoreService();
if (tab_service)
- tab_service->ClearHistoricalTabs();
+ tab_service->ClearEntries();
// We also delete the last session when we delete the history.
SessionService* session_service = profile_->GetSessionService();