| OLD | NEW |
| 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/engine_impl/sync_manager_for_profile_sync_test.h" |
| 6 | 6 |
| 7 #include "components/sync/syncable/directory.h" | 7 #include "components/sync/syncable/directory.h" |
| 8 #include "components/sync/syncable/test_user_share.h" | 8 #include "components/sync/syncable/test_user_share.h" |
| 9 #include "components/sync/syncable/user_share.h" | 9 #include "components/sync/syncable/user_share.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 | 12 |
| 13 SyncManagerForProfileSyncTest::SyncManagerForProfileSyncTest( | 13 SyncManagerForProfileSyncTest::SyncManagerForProfileSyncTest( |
| 14 std::string name, | 14 std::string name, |
| 15 base::Closure init_callback) | 15 base::Closure init_callback) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 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 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 |
| OLD | NEW |