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

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_impl.cc

Issue 436373002: Move non-API code out of sync/api/attachments/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply CR feedback. Created 6 years, 4 months 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 | Annotate | Revision Log
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "components/signin/core/browser/signin_manager.h" 56 #include "components/signin/core/browser/signin_manager.h"
57 #include "components/sync_driver/data_type_manager_impl.h" 57 #include "components/sync_driver/data_type_manager_impl.h"
58 #include "components/sync_driver/data_type_manager_observer.h" 58 #include "components/sync_driver/data_type_manager_observer.h"
59 #include "components/sync_driver/generic_change_processor.h" 59 #include "components/sync_driver/generic_change_processor.h"
60 #include "components/sync_driver/proxy_data_type_controller.h" 60 #include "components/sync_driver/proxy_data_type_controller.h"
61 #include "components/sync_driver/shared_change_processor.h" 61 #include "components/sync_driver/shared_change_processor.h"
62 #include "components/sync_driver/ui_data_type_controller.h" 62 #include "components/sync_driver/ui_data_type_controller.h"
63 #include "content/public/browser/browser_thread.h" 63 #include "content/public/browser/browser_thread.h"
64 #include "google_apis/gaia/oauth2_token_service_request.h" 64 #include "google_apis/gaia/oauth2_token_service_request.h"
65 #include "net/url_request/url_request_context_getter.h" 65 #include "net/url_request/url_request_context_getter.h"
66 #include "sync/api/attachments/attachment_downloader.h" 66 #include "sync/api/attachments/fake_attachment_store.h"
67 #include "sync/api/attachments/attachment_service.h"
68 #include "sync/api/attachments/attachment_service_impl.h"
69 #include "sync/api/syncable_service.h" 67 #include "sync/api/syncable_service.h"
68 #include "sync/internal_api/public/attachments/attachment_downloader.h"
69 #include "sync/internal_api/public/attachments/attachment_service.h"
70 #include "sync/internal_api/public/attachments/attachment_service_impl.h"
70 #include "sync/internal_api/public/attachments/attachment_uploader_impl.h" 71 #include "sync/internal_api/public/attachments/attachment_uploader_impl.h"
71 #include "sync/internal_api/public/attachments/fake_attachment_store.h"
72 72
73 #if defined(ENABLE_APP_LIST) 73 #if defined(ENABLE_APP_LIST)
74 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" 74 #include "chrome/browser/ui/app_list/app_list_syncable_service.h"
75 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" 75 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
76 #include "ui/app_list/app_list_switches.h" 76 #include "ui/app_list/app_list_switches.h"
77 #endif 77 #endif
78 78
79 #if defined(ENABLE_EXTENSIONS) 79 #if defined(ENABLE_EXTENSIONS)
80 #include "chrome/browser/extensions/api/storage/settings_sync_util.h" 80 #include "chrome/browser/extensions/api/storage/settings_sync_util.h"
81 #include "chrome/browser/extensions/api/synced_notifications_private/synced_noti fications_shim.h" 81 #include "chrome/browser/extensions/api/synced_notifications_private/synced_noti fications_shim.h"
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 new TypedUrlModelAssociator(profile_sync_service, 717 new TypedUrlModelAssociator(profile_sync_service,
718 history_backend, 718 history_backend,
719 error_handler); 719 error_handler);
720 TypedUrlChangeProcessor* change_processor = 720 TypedUrlChangeProcessor* change_processor =
721 new TypedUrlChangeProcessor(profile_, 721 new TypedUrlChangeProcessor(profile_,
722 model_associator, 722 model_associator,
723 history_backend, 723 history_backend,
724 error_handler); 724 error_handler);
725 return SyncComponents(model_associator, change_processor); 725 return SyncComponents(model_associator, change_processor);
726 } 726 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/favicon_cache_unittest.cc ('k') | chrome/browser/sync/profile_sync_components_factory_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698