Chromium Code Reviews| Index: chrome/browser/sessions/session_service_unittest.cc |
| =================================================================== |
| --- chrome/browser/sessions/session_service_unittest.cc (revision 86049) |
| +++ chrome/browser/sessions/session_service_unittest.cc (working copy) |
| @@ -18,7 +18,6 @@ |
| #include "chrome/browser/sessions/session_types.h" |
| #include "chrome/common/chrome_paths.h" |
| #include "chrome/test/browser_with_test_window_test.h" |
| -#include "chrome/test/file_test_utils.h" |
| #include "chrome/test/testing_profile.h" |
| #include "content/browser/tab_contents/navigation_entry.h" |
| #include "content/common/notification_observer.h" |
| @@ -40,7 +39,6 @@ |
| ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
| path_ = temp_dir_.path().Append(FILE_PATH_LITERAL("SessionTestDirs")); |
| file_util::CreateDirectory(path_); |
|
Paweł Hajdan Jr.
2011/05/20 13:48:58
nit: Check return value.
lain Merrick
2011/05/20 14:23:32
Done.
|
| - path_deleter_.reset(new FileAutoDeleter(path_)); |
| path_ = path_.AppendASCII(b); |
| SessionService* session_service = new SessionService(path_); |
| @@ -60,7 +58,6 @@ |
| virtual void TearDown() { |
| helper_.set_service(NULL); |
| - path_deleter_.reset(); |
| } |
| void UpdateNavigation(const SessionID& window_id, |
| @@ -136,7 +133,6 @@ |
| // Path used in testing. |
| ScopedTempDir temp_dir_; |
| FilePath path_; |
| - scoped_ptr<FileAutoDeleter> path_deleter_; |
| SessionServiceTestHelper helper_; |
| }; |