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

Side by Side Diff: ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.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_service_factory.h" 5 #include "ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "components/browser_sync/browser/profile_sync_service.h" 12 #include "components/browser_sync/profile_sync_service.h"
13 #include "components/keyed_service/ios/browser_state_dependency_manager.h" 13 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
14 #include "components/network_time/network_time_tracker.h" 14 #include "components/network_time/network_time_tracker.h"
15 #include "components/signin/core/browser/profile_oauth2_token_service.h" 15 #include "components/signin/core/browser/profile_oauth2_token_service.h"
16 #include "components/signin/core/browser/signin_manager.h" 16 #include "components/signin/core/browser/signin_manager.h"
17 #include "components/sync/driver/signin_manager_wrapper.h" 17 #include "components/sync/driver/signin_manager_wrapper.h"
18 #include "components/sync/driver/startup_controller.h" 18 #include "components/sync/driver/startup_controller.h"
19 #include "components/sync/driver/sync_util.h" 19 #include "components/sync/driver/sync_util.h"
20 #include "ios/chrome/browser/application_context.h" 20 #include "ios/chrome/browser/application_context.h"
21 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" 21 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h"
22 #include "ios/chrome/browser/bookmarks/bookmark_model_factory.h" 22 #include "ios/chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 init_params.file_thread = 144 init_params.file_thread =
145 web::WebThread::GetTaskRunnerForThread(web::WebThread::FILE); 145 web::WebThread::GetTaskRunnerForThread(web::WebThread::FILE);
146 init_params.blocking_pool = web::WebThread::GetBlockingPool(); 146 init_params.blocking_pool = web::WebThread::GetBlockingPool();
147 147
148 auto pss = base::MakeUnique<ProfileSyncService>(std::move(init_params)); 148 auto pss = base::MakeUnique<ProfileSyncService>(std::move(init_params));
149 149
150 // Will also initialize the sync client. 150 // Will also initialize the sync client.
151 pss->Initialize(); 151 pss->Initialize();
152 return std::move(pss); 152 return std::move(pss);
153 } 153 }
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.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698