| OLD | NEW |
| 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 10 matching lines...) Expand all Loading... |
| 21 #include "components/dom_distiller/core/dom_distiller_service.h" | 21 #include "components/dom_distiller/core/dom_distiller_service.h" |
| 22 #include "components/history/core/browser/history_model_worker.h" | 22 #include "components/history/core/browser/history_model_worker.h" |
| 23 #include "components/history/core/browser/history_service.h" | 23 #include "components/history/core/browser/history_service.h" |
| 24 #include "components/invalidation/impl/profile_invalidation_provider.h" | 24 #include "components/invalidation/impl/profile_invalidation_provider.h" |
| 25 #include "components/keyed_service/core/service_access_type.h" | 25 #include "components/keyed_service/core/service_access_type.h" |
| 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/search_engines/search_engine_data_type_controller.h" | 28 #include "components/search_engines/search_engine_data_type_controller.h" |
| 29 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 29 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 30 #include "components/sync/base/extensions_activity.h" | 30 #include "components/sync/base/extensions_activity.h" |
| 31 #include "components/sync/driver/glue/browser_thread_model_worker.h" |
| 32 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h" |
| 33 #include "components/sync/driver/glue/ui_model_worker.h" |
| 34 #include "components/sync/driver/sync_api_component_factory.h" |
| 35 #include "components/sync/driver/sync_util.h" |
| 36 #include "components/sync/driver/ui_data_type_controller.h" |
| 31 #include "components/sync/engine/passive_model_worker.h" | 37 #include "components/sync/engine/passive_model_worker.h" |
| 32 #include "components/sync_driver/glue/browser_thread_model_worker.h" | |
| 33 #include "components/sync_driver/glue/chrome_report_unrecoverable_error.h" | |
| 34 #include "components/sync_driver/glue/ui_model_worker.h" | |
| 35 #include "components/sync_driver/sync_api_component_factory.h" | |
| 36 #include "components/sync_driver/sync_util.h" | |
| 37 #include "components/sync_driver/ui_data_type_controller.h" | |
| 38 #include "components/sync_sessions/favicon_cache.h" | 38 #include "components/sync_sessions/favicon_cache.h" |
| 39 #include "components/sync_sessions/local_session_event_router.h" | 39 #include "components/sync_sessions/local_session_event_router.h" |
| 40 #include "components/sync_sessions/sync_sessions_client.h" | 40 #include "components/sync_sessions/sync_sessions_client.h" |
| 41 #include "components/sync_sessions/synced_window_delegates_getter.h" | 41 #include "components/sync_sessions/synced_window_delegates_getter.h" |
| 42 #include "components/syncable_prefs/pref_service_syncable.h" | 42 #include "components/syncable_prefs/pref_service_syncable.h" |
| 43 #include "ios/chrome/browser/application_context.h" | 43 #include "ios/chrome/browser/application_context.h" |
| 44 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" | 44 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" |
| 45 #include "ios/chrome/browser/bookmarks/bookmark_model_factory.h" | 45 #include "ios/chrome/browser/bookmarks/bookmark_model_factory.h" |
| 46 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 46 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
| 47 #include "ios/chrome/browser/browser_state/chrome_browser_state_manager.h" | 47 #include "ios/chrome/browser/browser_state/chrome_browser_state_manager.h" |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state); | 400 IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state); |
| 401 if (profile_sync_service != nullptr) { | 401 if (profile_sync_service != nullptr) { |
| 402 const sync_driver::DeviceInfoTracker* tracker = | 402 const sync_driver::DeviceInfoTracker* tracker = |
| 403 profile_sync_service->GetDeviceInfoTracker(); | 403 profile_sync_service->GetDeviceInfoTracker(); |
| 404 if (tracker != nullptr) { | 404 if (tracker != nullptr) { |
| 405 trackers->push_back(tracker); | 405 trackers->push_back(tracker); |
| 406 } | 406 } |
| 407 } | 407 } |
| 408 } | 408 } |
| 409 } | 409 } |
| OLD | NEW |