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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 7 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
8 #include "chrome/browser/bookmarks/enhanced_bookmarks_features.h" | 8 #include "chrome/browser/bookmarks/enhanced_bookmarks_features.h" |
9 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 9 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
10 #include "chrome/browser/history/history_service.h" | 10 #include "chrome/browser/history/history_service.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "components/sync_driver/data_type_manager_impl.h" | 58 #include "components/sync_driver/data_type_manager_impl.h" |
59 #include "components/sync_driver/data_type_manager_observer.h" | 59 #include "components/sync_driver/data_type_manager_observer.h" |
60 #include "components/sync_driver/device_info_data_type_controller.h" | 60 #include "components/sync_driver/device_info_data_type_controller.h" |
61 #include "components/sync_driver/generic_change_processor.h" | 61 #include "components/sync_driver/generic_change_processor.h" |
62 #include "components/sync_driver/proxy_data_type_controller.h" | 62 #include "components/sync_driver/proxy_data_type_controller.h" |
63 #include "components/sync_driver/shared_change_processor.h" | 63 #include "components/sync_driver/shared_change_processor.h" |
64 #include "components/sync_driver/ui_data_type_controller.h" | 64 #include "components/sync_driver/ui_data_type_controller.h" |
65 #include "content/public/browser/browser_thread.h" | 65 #include "content/public/browser/browser_thread.h" |
66 #include "google_apis/gaia/oauth2_token_service_request.h" | 66 #include "google_apis/gaia/oauth2_token_service_request.h" |
67 #include "net/url_request/url_request_context_getter.h" | 67 #include "net/url_request/url_request_context_getter.h" |
68 #include "sync/api/attachments/fake_attachment_store.h" | |
69 #include "sync/api/syncable_service.h" | 68 #include "sync/api/syncable_service.h" |
70 #include "sync/internal_api/public/attachments/attachment_downloader.h" | 69 #include "sync/internal_api/public/attachments/attachment_downloader.h" |
71 #include "sync/internal_api/public/attachments/attachment_service.h" | 70 #include "sync/internal_api/public/attachments/attachment_service.h" |
72 #include "sync/internal_api/public/attachments/attachment_service_impl.h" | 71 #include "sync/internal_api/public/attachments/attachment_service_impl.h" |
73 #include "sync/internal_api/public/attachments/attachment_uploader_impl.h" | 72 #include "sync/internal_api/public/attachments/attachment_uploader_impl.h" |
74 | 73 |
75 #if defined(ENABLE_APP_LIST) | 74 #if defined(ENABLE_APP_LIST) |
76 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 75 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
77 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 76 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
78 #include "ui/app_list/app_list_switches.h" | 77 #include "ui/app_list/app_list_switches.h" |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 new TypedUrlModelAssociator(profile_sync_service, | 694 new TypedUrlModelAssociator(profile_sync_service, |
696 history_backend, | 695 history_backend, |
697 error_handler); | 696 error_handler); |
698 TypedUrlChangeProcessor* change_processor = | 697 TypedUrlChangeProcessor* change_processor = |
699 new TypedUrlChangeProcessor(profile_, | 698 new TypedUrlChangeProcessor(profile_, |
700 model_associator, | 699 model_associator, |
701 history_backend, | 700 history_backend, |
702 error_handler); | 701 error_handler); |
703 return SyncComponents(model_associator, change_processor); | 702 return SyncComponents(model_associator, change_processor); |
704 } | 703 } |
OLD | NEW |