Index: chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc b/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc |
index 2aa14e9a86e41885260d5cd44324f64b9cc49558..b96e8ebe2ca9144cb2158c17d6076cb4aba19da1 100644 |
--- a/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc |
+++ b/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc |
@@ -12,6 +12,8 @@ using sessions_helper::CheckInitialState; |
using sessions_helper::GetLocalWindows; |
using sessions_helper::GetSessionData; |
using sessions_helper::OpenTabAndGetLocalWindows; |
+using sessions_helper::ScopedWindowMap; |
+using sessions_helper::SyncedSessionVector; |
using sessions_helper::WindowsMatch; |
class SingleClientSessionsSyncTest : public SyncTest { |
@@ -28,7 +30,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientSessionsSyncTest, Sanity) { |
ASSERT_TRUE(CheckInitialState(0)); |
- ScopedVector<SessionWindow> old_windows; |
+ ScopedWindowMap old_windows; |
ASSERT_TRUE(OpenTabAndGetLocalWindows(0, |
GURL("about:bubba"), |
old_windows.get())); |
@@ -42,7 +44,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientSessionsSyncTest, Sanity) { |
ASSERT_EQ(0U, sessions.size()); |
// Verify client didn't change. |
- ScopedVector<SessionWindow> new_windows; |
+ ScopedWindowMap new_windows; |
ASSERT_TRUE(GetLocalWindows(0, new_windows.get())); |
- ASSERT_TRUE(WindowsMatch(old_windows.get(), new_windows.get())); |
+ ASSERT_TRUE(WindowsMatch(*old_windows.get(), *new_windows.get())); |
} |