| 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 "chrome/browser/sync/chrome_sync_client.h" | 5 #include "chrome/browser/sync/chrome_sync_client.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "chrome/browser/web_data_service_factory.h" | 38 #include "chrome/browser/web_data_service_factory.h" |
| 39 #include "chrome/common/channel_info.h" | 39 #include "chrome/common/channel_info.h" |
| 40 #include "chrome/common/features.h" | 40 #include "chrome/common/features.h" |
| 41 #include "chrome/common/pref_names.h" | 41 #include "chrome/common/pref_names.h" |
| 42 #include "chrome/common/url_constants.h" | 42 #include "chrome/common/url_constants.h" |
| 43 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" | 43 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" |
| 44 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" | 44 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" |
| 45 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" | 45 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" |
| 46 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" | 46 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" |
| 47 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 47 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 48 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h
" | 48 #include "components/browser_sync/browser_sync_switches.h" |
| 49 #include "components/browser_sync/browser/profile_sync_service.h" | 49 #include "components/browser_sync/profile_sync_components_factory_impl.h" |
| 50 #include "components/browser_sync/common/browser_sync_switches.h" | 50 #include "components/browser_sync/profile_sync_service.h" |
| 51 #include "components/dom_distiller/core/dom_distiller_service.h" | 51 #include "components/dom_distiller/core/dom_distiller_service.h" |
| 52 #include "components/history/core/browser/history_model_worker.h" | 52 #include "components/history/core/browser/history_model_worker.h" |
| 53 #include "components/history/core/browser/history_service.h" | 53 #include "components/history/core/browser/history_service.h" |
| 54 #include "components/invalidation/impl/profile_invalidation_provider.h" | 54 #include "components/invalidation/impl/profile_invalidation_provider.h" |
| 55 #include "components/password_manager/core/browser/password_store.h" | 55 #include "components/password_manager/core/browser/password_store.h" |
| 56 #include "components/password_manager/sync/browser/password_model_worker.h" | 56 #include "components/password_manager/sync/browser/password_model_worker.h" |
| 57 #include "components/search_engines/search_engine_data_type_controller.h" | 57 #include "components/search_engines/search_engine_data_type_controller.h" |
| 58 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 58 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 59 #include "components/sync/driver/glue/browser_thread_model_worker.h" | 59 #include "components/sync/driver/glue/browser_thread_model_worker.h" |
| 60 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h" | 60 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h" |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 sync_service->RegisterDataTypeController( | 628 sync_service->RegisterDataTypeController( |
| 629 base::MakeUnique<SupervisedUserSyncDataTypeController>( | 629 base::MakeUnique<SupervisedUserSyncDataTypeController>( |
| 630 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_)); | 630 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_)); |
| 631 sync_service->RegisterDataTypeController( | 631 sync_service->RegisterDataTypeController( |
| 632 base::MakeUnique<SupervisedUserSyncDataTypeController>( | 632 base::MakeUnique<SupervisedUserSyncDataTypeController>( |
| 633 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); | 633 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); |
| 634 #endif | 634 #endif |
| 635 } | 635 } |
| 636 | 636 |
| 637 } // namespace browser_sync | 637 } // namespace browser_sync |
| OLD | NEW |