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

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

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 #include "ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h" 5 #include "ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/browser_sync/browser/profile_sync_service_mock.h" 9 #include "components/browser_sync/profile_sync_service_mock.h"
10 #include "components/browser_sync/browser/profile_sync_test_util.h" 10 #include "components/browser_sync/profile_sync_test_util.h"
11 #include "components/signin/core/browser/profile_oauth2_token_service.h" 11 #include "components/signin/core/browser/profile_oauth2_token_service.h"
12 #include "components/signin/core/browser/signin_manager.h" 12 #include "components/signin/core/browser/signin_manager.h"
13 #include "components/sync/driver/signin_manager_wrapper.h" 13 #include "components/sync/driver/signin_manager_wrapper.h"
14 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 14 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
15 #include "ios/chrome/browser/signin/oauth2_token_service_factory.h" 15 #include "ios/chrome/browser/signin/oauth2_token_service_factory.h"
16 #include "ios/chrome/browser/signin/signin_manager_factory.h" 16 #include "ios/chrome/browser/signin/signin_manager_factory.h"
17 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h" 17 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h"
18 #include "ios/chrome/common/channel_info.h" 18 #include "ios/chrome/common/channel_info.h"
19 #include "ios/web/public/web_thread.h" 19 #include "ios/web/public/web_thread.h"
20 20
(...skipping 24 matching lines...) Expand all
45 45
46 return init_params; 46 return init_params;
47 } 47 }
48 48
49 std::unique_ptr<KeyedService> BuildMockProfileSyncService( 49 std::unique_ptr<KeyedService> BuildMockProfileSyncService(
50 web::BrowserState* context) { 50 web::BrowserState* context) {
51 return base::MakeUnique<ProfileSyncServiceMock>( 51 return base::MakeUnique<ProfileSyncServiceMock>(
52 CreateProfileSyncServiceParamsForTest( 52 CreateProfileSyncServiceParamsForTest(
53 nullptr, ios::ChromeBrowserState::FromBrowserState(context))); 53 nullptr, ios::ChromeBrowserState::FromBrowserState(context)));
54 } 54 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h ('k') | ios/chrome/browser/sync/ios_chrome_sync_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698