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

Side by Side Diff: components/browser_sync/browser/profile_sync_components_factory_impl.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 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
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 "components/browser_sync/browser/profile_sync_components_factory_impl.h " 5 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h "
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
(...skipping 11 matching lines...) Expand all
22 #include "components/dom_distiller/core/dom_distiller_features.h" 22 #include "components/dom_distiller/core/dom_distiller_features.h"
23 #include "components/history/core/browser/history_delete_directives_data_type_co ntroller.h" 23 #include "components/history/core/browser/history_delete_directives_data_type_co ntroller.h"
24 #include "components/history/core/browser/typed_url_data_type_controller.h" 24 #include "components/history/core/browser/typed_url_data_type_controller.h"
25 #include "components/password_manager/core/browser/password_store.h" 25 #include "components/password_manager/core/browser/password_store.h"
26 #include "components/password_manager/sync/browser/password_data_type_controller .h" 26 #include "components/password_manager/sync/browser/password_data_type_controller .h"
27 #include "components/prefs/pref_service.h" 27 #include "components/prefs/pref_service.h"
28 #include "components/sync/core/attachments/attachment_downloader.h" 28 #include "components/sync/core/attachments/attachment_downloader.h"
29 #include "components/sync/core/attachments/attachment_service.h" 29 #include "components/sync/core/attachments/attachment_service.h"
30 #include "components/sync/core/attachments/attachment_service_impl.h" 30 #include "components/sync/core/attachments/attachment_service_impl.h"
31 #include "components/sync/core/attachments/attachment_uploader_impl.h" 31 #include "components/sync/core/attachments/attachment_uploader_impl.h"
32 #include "components/sync/driver/data_type_manager_impl.h"
33 #include "components/sync/driver/device_info_data_type_controller.h"
34 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h"
35 #include "components/sync/driver/glue/sync_backend_host.h"
36 #include "components/sync/driver/glue/sync_backend_host_impl.h"
37 #include "components/sync/driver/local_device_info_provider_impl.h"
38 #include "components/sync/driver/proxy_data_type_controller.h"
39 #include "components/sync/driver/sync_client.h"
40 #include "components/sync/driver/sync_driver_switches.h"
41 #include "components/sync/driver/ui_data_type_controller.h"
42 #include "components/sync/driver/ui_model_type_controller.h"
32 #include "components/sync_bookmarks/bookmark_change_processor.h" 43 #include "components/sync_bookmarks/bookmark_change_processor.h"
33 #include "components/sync_bookmarks/bookmark_data_type_controller.h" 44 #include "components/sync_bookmarks/bookmark_data_type_controller.h"
34 #include "components/sync_bookmarks/bookmark_model_associator.h" 45 #include "components/sync_bookmarks/bookmark_model_associator.h"
35 #include "components/sync_driver/data_type_manager_impl.h"
36 #include "components/sync_driver/device_info_data_type_controller.h"
37 #include "components/sync_driver/glue/chrome_report_unrecoverable_error.h"
38 #include "components/sync_driver/glue/sync_backend_host.h"
39 #include "components/sync_driver/glue/sync_backend_host_impl.h"
40 #include "components/sync_driver/local_device_info_provider_impl.h"
41 #include "components/sync_driver/proxy_data_type_controller.h"
42 #include "components/sync_driver/sync_client.h"
43 #include "components/sync_driver/sync_driver_switches.h"
44 #include "components/sync_driver/ui_data_type_controller.h"
45 #include "components/sync_driver/ui_model_type_controller.h"
46 #include "components/sync_sessions/session_data_type_controller.h" 46 #include "components/sync_sessions/session_data_type_controller.h"
47 #include "google_apis/gaia/oauth2_token_service.h" 47 #include "google_apis/gaia/oauth2_token_service.h"
48 #include "google_apis/gaia/oauth2_token_service_request.h" 48 #include "google_apis/gaia/oauth2_token_service_request.h"
49 #include "net/url_request/url_request_context_getter.h" 49 #include "net/url_request/url_request_context_getter.h"
50 50
51 using bookmarks::BookmarkModel; 51 using bookmarks::BookmarkModel;
52 using browser_sync::AutofillDataTypeController; 52 using browser_sync::AutofillDataTypeController;
53 using browser_sync::AutofillProfileDataTypeController; 53 using browser_sync::AutofillProfileDataTypeController;
54 using browser_sync::BookmarkChangeProcessor; 54 using browser_sync::BookmarkChangeProcessor;
55 using browser_sync::BookmarkDataTypeController; 55 using browser_sync::BookmarkDataTypeController;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 #else 397 #else
398 const bool kExpectMobileBookmarksFolder = false; 398 const bool kExpectMobileBookmarksFolder = false;
399 #endif 399 #endif
400 BookmarkModelAssociator* model_associator = new BookmarkModelAssociator( 400 BookmarkModelAssociator* model_associator = new BookmarkModelAssociator(
401 bookmark_model, sync_service->GetSyncClient(), user_share, error_handler, 401 bookmark_model, sync_service->GetSyncClient(), user_share, error_handler,
402 kExpectMobileBookmarksFolder); 402 kExpectMobileBookmarksFolder);
403 BookmarkChangeProcessor* change_processor = new BookmarkChangeProcessor( 403 BookmarkChangeProcessor* change_processor = new BookmarkChangeProcessor(
404 sync_service->GetSyncClient(), model_associator, error_handler); 404 sync_service->GetSyncClient(), model_associator, error_handler);
405 return SyncComponents(model_associator, change_processor); 405 return SyncComponents(model_associator, change_processor);
406 } 406 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698