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

Unified Diff: components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc
diff --git a/sync/internal_api/test/sync_manager_for_profile_sync_test.cc b/components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc
similarity index 76%
rename from sync/internal_api/test/sync_manager_for_profile_sync_test.cc
rename to components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc
index b0542264e31ee614d2d473fd980df3d82f0331b6..8dd01fba4018ea1406210d83482a18526dfca84e 100644
--- a/sync/internal_api/test/sync_manager_for_profile_sync_test.cc
+++ b/components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/test/sync_manager_for_profile_sync_test.h"
+#include "components/sync/core_impl/test/sync_manager_for_profile_sync_test.h"
-#include "sync/internal_api/public/test/test_user_share.h"
-#include "sync/internal_api/public/user_share.h"
-#include "sync/syncable/directory.h"
+#include "components/sync/core/test/test_user_share.h"
+#include "components/sync/core/user_share.h"
+#include "components/sync/syncable/directory.h"
namespace syncer {
SyncManagerForProfileSyncTest::SyncManagerForProfileSyncTest(
std::string name,
base::Closure init_callback)
- : SyncManagerImpl(name),
- init_callback_(init_callback) {}
+ : SyncManagerImpl(name), init_callback_(init_callback) {}
SyncManagerForProfileSyncTest::~SyncManagerForProfileSyncTest() {}
@@ -28,8 +27,8 @@ void SyncManagerForProfileSyncTest::NotifyInitializationSuccess() {
ModelTypeSet early_download_types;
early_download_types.PutAll(ControlTypes());
early_download_types.PutAll(PriorityUserTypes());
- for (ModelTypeSet::Iterator it = early_download_types.First();
- it.Good(); it.Inc()) {
+ for (ModelTypeSet::Iterator it = early_download_types.First(); it.Good();
+ it.Inc()) {
if (!directory->InitialSyncEndedForType(it.Get())) {
syncer::TestUserShare::CreateRoot(it.Get(), user_share);
}

Powered by Google App Engine
This is Rietveld 408576698