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