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 "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_te
st.h" | 5 #include "components/sync/core/test/sync_manager_factory_for_profile_sync_test.h
" |
6 | 6 |
7 #include "sync/internal_api/test/sync_manager_for_profile_sync_test.h" | 7 #include "components/sync/core_impl/test/sync_manager_for_profile_sync_test.h" |
8 | 8 |
9 namespace syncer { | 9 namespace syncer { |
10 | 10 |
11 SyncManagerFactoryForProfileSyncTest::SyncManagerFactoryForProfileSyncTest( | 11 SyncManagerFactoryForProfileSyncTest::SyncManagerFactoryForProfileSyncTest( |
12 base::Closure init_callback) | 12 base::Closure init_callback) |
13 : SyncManagerFactory(), | 13 : SyncManagerFactory(), init_callback_(init_callback) {} |
14 init_callback_(init_callback) { | |
15 } | |
16 | 14 |
17 SyncManagerFactoryForProfileSyncTest::~SyncManagerFactoryForProfileSyncTest() {} | 15 SyncManagerFactoryForProfileSyncTest::~SyncManagerFactoryForProfileSyncTest() {} |
18 | 16 |
19 std::unique_ptr<syncer::SyncManager> | 17 std::unique_ptr<syncer::SyncManager> |
20 SyncManagerFactoryForProfileSyncTest::CreateSyncManager( | 18 SyncManagerFactoryForProfileSyncTest::CreateSyncManager( |
21 const std::string& name) { | 19 const std::string& name) { |
22 return std::unique_ptr<syncer::SyncManager>( | 20 return std::unique_ptr<syncer::SyncManager>( |
23 new SyncManagerForProfileSyncTest(name, init_callback_)); | 21 new SyncManagerForProfileSyncTest(name, init_callback_)); |
24 } | 22 } |
25 | 23 |
26 } // namespace syncer | 24 } // namespace syncer |
OLD | NEW |