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

Side by Side Diff: components/sync/core_impl/test/sync_manager_for_profile_sync_test.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/sync/core_impl/test/sync_manager_for_profile_sync_test.h" 5 #include "components/sync/core_impl/test/sync_manager_for_profile_sync_test.h"
6 6
7 #include "components/sync/core/test/test_user_share.h" 7 #include "components/sync/core/test/test_user_share.h"
8 #include "components/sync/core/user_share.h" 8 #include "components/sync/core/user_share.h"
9 #include "components/sync/syncable/directory.h" 9 #include "components/sync/syncable/directory.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 if (!init_callback_.is_null()) 24 if (!init_callback_.is_null())
25 init_callback_.Run(); 25 init_callback_.Run();
26 26
27 ModelTypeSet early_download_types; 27 ModelTypeSet early_download_types;
28 early_download_types.PutAll(ControlTypes()); 28 early_download_types.PutAll(ControlTypes());
29 early_download_types.PutAll(PriorityUserTypes()); 29 early_download_types.PutAll(PriorityUserTypes());
30 for (ModelTypeSet::Iterator it = early_download_types.First(); it.Good(); 30 for (ModelTypeSet::Iterator it = early_download_types.First(); it.Good();
31 it.Inc()) { 31 it.Inc()) {
32 if (!directory->InitialSyncEndedForType(it.Get())) { 32 if (!directory->InitialSyncEndedForType(it.Get())) {
33 TestUserShare::CreateRoot(it.Get(), user_share); 33 syncer::TestUserShare::CreateRoot(it.Get(), user_share);
34 } 34 }
35 } 35 }
36 36
37 SyncManagerImpl::NotifyInitializationSuccess(); 37 SyncManagerImpl::NotifyInitializationSuccess();
38 } 38 }
39 39
40 } // namespace syncer 40 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698