| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/profile_sync_components_factory_impl.h" | 5 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 10 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 10 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h" | 34 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h" |
| 35 #include "chrome/browser/sync/glue/typed_url_model_associator.h" | 35 #include "chrome/browser/sync/glue/typed_url_model_associator.h" |
| 36 #include "chrome/browser/sync/profile_sync_service.h" | 36 #include "chrome/browser/sync/profile_sync_service.h" |
| 37 #include "chrome/browser/sync/profile_sync_service_factory.h" | 37 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 38 #include "chrome/browser/sync/sessions/session_data_type_controller.h" | 38 #include "chrome/browser/sync/sessions/session_data_type_controller.h" |
| 39 #include "chrome/browser/themes/theme_service.h" | 39 #include "chrome/browser/themes/theme_service.h" |
| 40 #include "chrome/browser/themes/theme_service_factory.h" | 40 #include "chrome/browser/themes/theme_service_factory.h" |
| 41 #include "chrome/browser/themes/theme_syncable_service.h" | 41 #include "chrome/browser/themes/theme_syncable_service.h" |
| 42 #include "chrome/browser/web_data_service_factory.h" | 42 #include "chrome/browser/web_data_service_factory.h" |
| 43 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
| 44 #include "chrome/common/chrome_version_info.h" | |
| 45 #include "chrome/common/pref_names.h" | 44 #include "chrome/common/pref_names.h" |
| 46 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" | 45 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" |
| 47 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" | 46 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" |
| 48 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" | 47 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" |
| 49 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" | 48 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" |
| 50 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 51 #include "components/autofill/core/common/autofill_pref_names.h" | 50 #include "components/autofill/core/common/autofill_pref_names.h" |
| 52 #include "components/autofill/core/common/autofill_switches.h" | 51 #include "components/autofill/core/common/autofill_switches.h" |
| 53 #include "components/dom_distiller/core/dom_distiller_features.h" | 52 #include "components/dom_distiller/core/dom_distiller_features.h" |
| 54 #include "components/dom_distiller/core/dom_distiller_service.h" | 53 #include "components/dom_distiller/core/dom_distiller_service.h" |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 new TypedUrlModelAssociator(profile_sync_service, | 743 new TypedUrlModelAssociator(profile_sync_service, |
| 745 history_backend, | 744 history_backend, |
| 746 error_handler); | 745 error_handler); |
| 747 TypedUrlChangeProcessor* change_processor = | 746 TypedUrlChangeProcessor* change_processor = |
| 748 new TypedUrlChangeProcessor(profile_, | 747 new TypedUrlChangeProcessor(profile_, |
| 749 model_associator, | 748 model_associator, |
| 750 history_backend, | 749 history_backend, |
| 751 error_handler); | 750 error_handler); |
| 752 return SyncComponents(model_associator, change_processor); | 751 return SyncComponents(model_associator, change_processor); |
| 753 } | 752 } |
| OLD | NEW |