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

Side by Side Diff: ios/chrome/browser/sync/ios_chrome_sync_client.mm

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. Created 4 years 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
« no previous file with comments | « components/sync_sessions/session_data_type_controller.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_sync_client.h" 5 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 15 matching lines...) Expand all
26 #include "components/password_manager/core/browser/password_store.h" 26 #include "components/password_manager/core/browser/password_store.h"
27 #include "components/password_manager/sync/browser/password_model_worker.h" 27 #include "components/password_manager/sync/browser/password_model_worker.h"
28 #include "components/reading_list/core/reading_list_switches.h" 28 #include "components/reading_list/core/reading_list_switches.h"
29 #include "components/reading_list/ios/reading_list_model.h" 29 #include "components/reading_list/ios/reading_list_model.h"
30 #include "components/search_engines/search_engine_data_type_controller.h" 30 #include "components/search_engines/search_engine_data_type_controller.h"
31 #include "components/signin/core/browser/profile_oauth2_token_service.h" 31 #include "components/signin/core/browser/profile_oauth2_token_service.h"
32 #include "components/sync/base/extensions_activity.h" 32 #include "components/sync/base/extensions_activity.h"
33 #include "components/sync/base/report_unrecoverable_error.h" 33 #include "components/sync/base/report_unrecoverable_error.h"
34 #include "components/sync/driver/sync_api_component_factory.h" 34 #include "components/sync/driver/sync_api_component_factory.h"
35 #include "components/sync/driver/sync_util.h" 35 #include "components/sync/driver/sync_util.h"
36 #include "components/sync/driver/ui_data_type_controller.h"
37 #include "components/sync/engine/browser_thread_model_worker.h" 36 #include "components/sync/engine/browser_thread_model_worker.h"
38 #include "components/sync/engine/passive_model_worker.h" 37 #include "components/sync/engine/passive_model_worker.h"
39 #include "components/sync/engine/ui_model_worker.h" 38 #include "components/sync/engine/ui_model_worker.h"
40 #include "components/sync_preferences/pref_service_syncable.h" 39 #include "components/sync_preferences/pref_service_syncable.h"
41 #include "components/sync_sessions/favicon_cache.h" 40 #include "components/sync_sessions/favicon_cache.h"
42 #include "components/sync_sessions/local_session_event_router.h" 41 #include "components/sync_sessions/local_session_event_router.h"
43 #include "components/sync_sessions/sync_sessions_client.h" 42 #include "components/sync_sessions/sync_sessions_client.h"
44 #include "components/sync_sessions/synced_window_delegates_getter.h" 43 #include "components/sync_sessions/synced_window_delegates_getter.h"
45 #include "ios/chrome/browser/application_context.h" 44 #include "ios/chrome/browser/application_context.h"
46 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" 45 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state); 411 IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state);
413 if (profile_sync_service != nullptr) { 412 if (profile_sync_service != nullptr) {
414 const syncer::DeviceInfoTracker* tracker = 413 const syncer::DeviceInfoTracker* tracker =
415 profile_sync_service->GetDeviceInfoTracker(); 414 profile_sync_service->GetDeviceInfoTracker();
416 if (tracker != nullptr) { 415 if (tracker != nullptr) {
417 trackers->push_back(tracker); 416 trackers->push_back(tracker);
418 } 417 }
419 } 418 }
420 } 419 }
421 } 420 }
OLDNEW
« no previous file with comments | « components/sync_sessions/session_data_type_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698