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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 "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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698