OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/sync_manager_factory.h" | 5 #include "components/sync/core/sync_manager_factory.h" |
6 | 6 |
7 #include "sync/internal_api/sync_manager_impl.h" | 7 #include "components/sync/core_impl/sync_manager_impl.h" |
8 | 8 |
9 namespace syncer { | 9 namespace syncer { |
10 | 10 |
11 SyncManagerFactory::SyncManagerFactory() {} | 11 SyncManagerFactory::SyncManagerFactory() {} |
12 | 12 |
13 SyncManagerFactory::~SyncManagerFactory() { | 13 SyncManagerFactory::~SyncManagerFactory() {} |
14 } | |
15 | 14 |
16 std::unique_ptr<SyncManager> SyncManagerFactory::CreateSyncManager( | 15 std::unique_ptr<SyncManager> SyncManagerFactory::CreateSyncManager( |
17 const std::string& name) { | 16 const std::string& name) { |
18 return std::unique_ptr<SyncManager>(new SyncManagerImpl(name)); | 17 return std::unique_ptr<SyncManager>(new SyncManagerImpl(name)); |
19 } | 18 } |
20 | 19 |
21 } // namespace syncer | 20 } // namespace syncer |
OLD | NEW |