Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1358)

Side by Side Diff: chrome/browser/sync/test/integration/multiple_client_sessions_sync_test.cc

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/guid.h" 5 #include "base/guid.h"
6 #include "base/memory/scoped_vector.h"
7 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/sessions/session_service.h" 7 #include "chrome/browser/sessions/session_service.h"
9 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 8 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
10 #include "chrome/browser/sync/test/integration/sessions_helper.h" 9 #include "chrome/browser/sync/test/integration/sessions_helper.h"
11 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
12 11
13 using sessions_helper::AwaitCheckForeignSessionsAgainst; 12 using sessions_helper::AwaitCheckForeignSessionsAgainst;
14 using sessions_helper::CheckInitialState; 13 using sessions_helper::CheckInitialState;
15 using sessions_helper::OpenTabAndGetLocalWindows; 14 using sessions_helper::OpenTabAndGetLocalWindows;
16 using sessions_helper::ScopedWindowMap; 15 using sessions_helper::ScopedWindowMap;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 client_windows[i].Reset(&windows); 81 client_windows[i].Reset(&windows);
83 } 82 }
84 83
85 // Get foreign session data from all clients and check it against all 84 // Get foreign session data from all clients and check it against all
86 // client_windows. 85 // client_windows.
87 for (int i = 0; i < num_clients(); ++i) { 86 for (int i = 0; i < num_clients(); ++i) {
88 ASSERT_TRUE(AwaitCheckForeignSessionsAgainst(i, client_windows)); 87 ASSERT_TRUE(AwaitCheckForeignSessionsAgainst(i, client_windows));
89 ASSERT_TRUE(IsEncryptionComplete(i)); 88 ASSERT_TRUE(IsEncryptionComplete(i));
90 } 89 }
91 } 90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698