diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-06 19:30:19 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-06 19:30:19 +0000 |
commit | 169627b81ce036a7014476c366b060e050b5ff70 (patch) | |
tree | 6231d8cfaa065513b4742d99204b25da4178037a /chrome/browser/browser.vcproj | |
parent | ee824a436efbdeed4ca78efc4dd2aa4976ba43a9 (diff) | |
download | chromium_src-169627b81ce036a7014476c366b060e050b5ff70.zip chromium_src-169627b81ce036a7014476c366b060e050b5ff70.tar.gz chromium_src-169627b81ce036a7014476c366b060e050b5ff70.tar.bz2 |
Makes the tab restore service persist closed tabs/windows to disk and
reload them when asked.
Sorry for largish looking change. It's made big by refactoring common
code between TabRestoreService and SessionService into a common
superclass. At the same time I removed some dead code and shuffled the
session related classes into a single directory for easier perusal.
BUG=384
TEST=close the browser, start the browser and make sure the new tab
page shows closed windows/tabs from the previous session.
Review URL: http://codereview.chromium.org/13152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.vcproj')
-rw-r--r-- | chrome/browser/browser.vcproj | 58 |
1 files changed, 43 insertions, 15 deletions
diff --git a/chrome/browser/browser.vcproj b/chrome/browser/browser.vcproj index fdfcfc7..9383b95 100644 --- a/chrome/browser/browser.vcproj +++ b/chrome/browser/browser.vcproj @@ -562,14 +562,6 @@ >
</File>
<File
- RelativePath=".\session_restore.cc"
- >
- </File>
- <File
- RelativePath=".\session_restore.h"
- >
- </File>
- <File
RelativePath=".\session_startup_pref.cc"
>
</File>
@@ -1478,31 +1470,67 @@ Name="Sessions and Tab Restore"
>
<File
- RelativePath=".\session_backend.cc"
+ RelativePath=".\sessions\base_session_service.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\base_session_service.h"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_backend.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_backend.h"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_id.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_id.h"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_command.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_command.h"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_restore.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\sessions\session_restore.h"
>
</File>
<File
- RelativePath=".\session_backend.h"
+ RelativePath=".\sessions\session_service.cc"
>
</File>
<File
- RelativePath=".\session_id.h"
+ RelativePath=".\sessions\session_service.h"
>
</File>
<File
- RelativePath=".\session_service.cc"
+ RelativePath=".\sessions\session_types.cc"
>
</File>
<File
- RelativePath=".\session_service.h"
+ RelativePath=".\sessions\session_types.h"
>
</File>
<File
- RelativePath=".\tab_restore_service.cc"
+ RelativePath=".\sessions\tab_restore_service.cc"
>
</File>
<File
- RelativePath=".\tab_restore_service.h"
+ RelativePath=".\sessions\tab_restore_service.h"
>
</File>
</Filter>
|