Index: chrome/browser/sessions/session_service_unittest.cc |
diff --git a/chrome/browser/sessions/session_service_unittest.cc b/chrome/browser/sessions/session_service_unittest.cc |
index edbedbe034f1b204ecfad2e4f883f670965e0ad3..d2bd481a6aee047d160f5b358e64a313a8597b2e 100644 |
--- a/chrome/browser/sessions/session_service_unittest.cc |
+++ b/chrome/browser/sessions/session_service_unittest.cc |
@@ -825,35 +825,6 @@ TEST_F(SessionServiceTest, RemovePostDataWithPasswords) { |
EXPECT_NE(page_state, windows[0]->tabs[0]->navigations[0].page_state()); |
} |
-// This test is only applicable to chromeos. |
-#if defined(OS_CHROMEOS) |
-// Verifies migration of tab/window closed works. |
-TEST_F(SessionServiceTest, CanOpenV1TabClosed) { |
- base::FilePath v1_file_path; |
- ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &v1_file_path)); |
- // v1_session_file contains a tab closed command with the original id. The |
- // file was generated from ClosingTabStaysClosed. If we successfully processed |
- // the file we'll have one tab. |
- v1_file_path = |
- v1_file_path.AppendASCII("sessions").AppendASCII("v1_session_file"); |
- base::FilePath dest_file_path(path_); |
- dest_file_path = dest_file_path.AppendASCII("Current Session"); |
- |
- // Forces closing the file. |
- helper_.SetService(NULL); |
- |
- ASSERT_TRUE(base::CopyFile(v1_file_path, dest_file_path)); |
- |
- SessionService* session_service = new SessionService(path_); |
- helper_.SetService(session_service); |
- ScopedVector<SessionWindow> windows; |
- SessionID::id_type active_window_id = 0; |
- helper_.ReadWindows(&(windows.get()), &active_window_id); |
- ASSERT_EQ(1u, windows.size()); |
- EXPECT_EQ(1u, windows[0]->tabs.size()); |
-} |
-#endif // defined(OS_CHROMEOS) |
- |
TEST_F(SessionServiceTest, ReplacePendingNavigation) { |
const std::string base_url("http://google.com/"); |
SessionID tab_id; |