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

Side by Side Diff: ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ 5 #ifndef IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_
6 #define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ 6 #define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/browser_sync/profile_sync_service.h" 10 #include "components/browser_sync/profile_sync_service.h"
11 11
12 namespace ios { 12 namespace ios {
13 class ChromeBrowserState; 13 class ChromeBrowserState;
14 } 14 }
15 15
16 namespace syncer { 16 namespace sync_driver {
17 class SyncClient; 17 class SyncClient;
18 } 18 }
19 19
20 namespace web { 20 namespace web {
21 class BrowserState; 21 class BrowserState;
22 } 22 }
23 23
24 // Helper method for constructing ProfileSyncService mocks. If |sync_client| 24 // Helper method for constructing ProfileSyncService mocks. If |sync_client|
25 // is null, a fresh one is created. 25 // is null, a fresh one is created.
26 browser_sync::ProfileSyncService::InitParams 26 browser_sync::ProfileSyncService::InitParams
27 CreateProfileSyncServiceParamsForTest( 27 CreateProfileSyncServiceParamsForTest(
28 std::unique_ptr<syncer::SyncClient> sync_client, 28 std::unique_ptr<sync_driver::SyncClient> sync_client,
29 ios::ChromeBrowserState* browser_state); 29 ios::ChromeBrowserState* browser_state);
30 30
31 // Helper routine to be used in conjunction with 31 // Helper routine to be used in conjunction with
32 // BrowserStateKeyedServiceFactory::SetTestingFactory(). 32 // BrowserStateKeyedServiceFactory::SetTestingFactory().
33 std::unique_ptr<KeyedService> BuildMockProfileSyncService( 33 std::unique_ptr<KeyedService> BuildMockProfileSyncService(
34 web::BrowserState* context); 34 web::BrowserState* context);
35 35
36 #endif // IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ 36 #endif // IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/sync/glue/sync_start_util.cc ('k') | ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698