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

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

Issue 1407373006: [Sync] Componentize SyncBackendHost{Impl,Core,Mock}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sbhi
Patch Set: Rebase. Created 5 years, 1 month 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 "chrome/browser/sync/profile_sync_service.h" 5 #include "chrome/browser/sync/profile_sync_service.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 #include "base/thread_task_runner_handle.h" 25 #include "base/thread_task_runner_handle.h"
26 #include "base/threading/thread_restrictions.h" 26 #include "base/threading/thread_restrictions.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "build/build_config.h" 28 #include "build/build_config.h"
29 #include "chrome/browser/browsing_data/browsing_data_helper.h" 29 #include "chrome/browser/browsing_data/browsing_data_helper.h"
30 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 30 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
31 #include "chrome/browser/password_manager/password_store_factory.h" 31 #include "chrome/browser/password_manager/password_store_factory.h"
32 #include "chrome/browser/profiles/profile.h" 32 #include "chrome/browser/profiles/profile.h"
33 #include "chrome/browser/signin/chrome_signin_client_factory.h" 33 #include "chrome/browser/signin/chrome_signin_client_factory.h"
34 #include "chrome/browser/signin/signin_manager_factory.h" 34 #include "chrome/browser/signin/signin_manager_factory.h"
35 #include "chrome/browser/sync/glue/sync_backend_host.h"
36 #include "chrome/browser/sync/glue/sync_backend_host_impl.h"
37 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" 35 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h"
38 #include "chrome/browser/sync/sync_type_preference_provider.h" 36 #include "chrome/browser/sync/sync_type_preference_provider.h"
39 #include "chrome/common/channel_info.h" 37 #include "chrome/common/channel_info.h"
40 #include "chrome/common/chrome_switches.h" 38 #include "chrome/common/chrome_switches.h"
41 #include "chrome/grit/generated_resources.h" 39 #include "chrome/grit/generated_resources.h"
42 #include "components/autofill/core/common/autofill_pref_names.h" 40 #include "components/autofill/core/common/autofill_pref_names.h"
43 #include "components/history/core/browser/typed_url_data_type_controller.h" 41 #include "components/history/core/browser/typed_url_data_type_controller.h"
44 #include "components/invalidation/impl/invalidation_prefs.h" 42 #include "components/invalidation/impl/invalidation_prefs.h"
45 #include "components/invalidation/impl/profile_invalidation_provider.h" 43 #include "components/invalidation/impl/profile_invalidation_provider.h"
46 #include "components/invalidation/public/invalidation_service.h" 44 #include "components/invalidation/public/invalidation_service.h"
47 #include "components/password_manager/core/browser/password_store.h" 45 #include "components/password_manager/core/browser/password_store.h"
48 #include "components/pref_registry/pref_registry_syncable.h" 46 #include "components/pref_registry/pref_registry_syncable.h"
49 #include "components/signin/core/browser/about_signin_internals.h" 47 #include "components/signin/core/browser/about_signin_internals.h"
50 #include "components/signin/core/browser/profile_oauth2_token_service.h" 48 #include "components/signin/core/browser/profile_oauth2_token_service.h"
51 #include "components/signin/core/browser/signin_manager.h" 49 #include "components/signin/core/browser/signin_manager.h"
52 #include "components/signin/core/browser/signin_metrics.h" 50 #include "components/signin/core/browser/signin_metrics.h"
53 #include "components/sync_driver/backend_migrator.h" 51 #include "components/sync_driver/backend_migrator.h"
54 #include "components/sync_driver/change_processor.h" 52 #include "components/sync_driver/change_processor.h"
55 #include "components/sync_driver/data_type_controller.h" 53 #include "components/sync_driver/data_type_controller.h"
56 #include "components/sync_driver/device_info.h" 54 #include "components/sync_driver/device_info.h"
57 #include "components/sync_driver/glue/chrome_report_unrecoverable_error.h" 55 #include "components/sync_driver/glue/chrome_report_unrecoverable_error.h"
56 #include "components/sync_driver/glue/sync_backend_host.h"
57 #include "components/sync_driver/glue/sync_backend_host_impl.h"
58 #include "components/sync_driver/pref_names.h" 58 #include "components/sync_driver/pref_names.h"
59 #include "components/sync_driver/sync_api_component_factory.h" 59 #include "components/sync_driver/sync_api_component_factory.h"
60 #include "components/sync_driver/sync_client.h" 60 #include "components/sync_driver/sync_client.h"
61 #include "components/sync_driver/sync_driver_switches.h" 61 #include "components/sync_driver/sync_driver_switches.h"
62 #include "components/sync_driver/sync_error_controller.h" 62 #include "components/sync_driver/sync_error_controller.h"
63 #include "components/sync_driver/sync_stopped_reporter.h" 63 #include "components/sync_driver/sync_stopped_reporter.h"
64 #include "components/sync_driver/sync_util.h" 64 #include "components/sync_driver/sync_util.h"
65 #include "components/sync_driver/system_encryptor.h" 65 #include "components/sync_driver/system_encryptor.h"
66 #include "components/sync_driver/user_selectable_sync_type.h" 66 #include "components/sync_driver/user_selectable_sync_type.h"
67 #include "components/sync_sessions/favicon_cache.h" 67 #include "components/sync_sessions/favicon_cache.h"
(...skipping 2664 matching lines...) Expand 10 before | Expand all | Expand 10 after
2732 } 2732 }
2733 2733
2734 std::string ProfileSyncService::unrecoverable_error_message() const { 2734 std::string ProfileSyncService::unrecoverable_error_message() const {
2735 return unrecoverable_error_message_; 2735 return unrecoverable_error_message_;
2736 } 2736 }
2737 2737
2738 tracked_objects::Location ProfileSyncService::unrecoverable_error_location() 2738 tracked_objects::Location ProfileSyncService::unrecoverable_error_location()
2739 const { 2739 const {
2740 return unrecoverable_error_location_; 2740 return unrecoverable_error_location_;
2741 } 2741 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698