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

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

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (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"
8 #include "components/sync/core/user_share.h"
9 #include "components/sync/syncable/directory.h" 7 #include "components/sync/syncable/directory.h"
8 #include "components/sync/syncable/test_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)
16 : SyncManagerImpl(name), init_callback_(init_callback) {} 16 : SyncManagerImpl(name), init_callback_(init_callback) {}
17 17
18 SyncManagerForProfileSyncTest::~SyncManagerForProfileSyncTest() {} 18 SyncManagerForProfileSyncTest::~SyncManagerForProfileSyncTest() {}
19 19
(...skipping 11 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « components/sync/core_impl/sync_manager_impl_unittest.cc ('k') | components/sync/core_impl/test/test_user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698