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