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 #ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 | 904 |
905 // The gaia cookie manager. Used for monitoring cookie jar changes to detect | 905 // The gaia cookie manager. Used for monitoring cookie jar changes to detect |
906 // when the user signs out of the content area. | 906 // when the user signs out of the content area. |
907 GaiaCookieManagerService* const gaia_cookie_manager_service_; | 907 GaiaCookieManagerService* const gaia_cookie_manager_service_; |
908 | 908 |
909 std::unique_ptr<syncer::LocalDeviceInfoProvider> local_device_; | 909 std::unique_ptr<syncer::LocalDeviceInfoProvider> local_device_; |
910 | 910 |
911 // Locally owned SyncableService and ModelTypeSyncBridge implementations. | 911 // Locally owned SyncableService and ModelTypeSyncBridge implementations. |
912 std::unique_ptr<sync_sessions::SessionsSyncManager> sessions_sync_manager_; | 912 std::unique_ptr<sync_sessions::SessionsSyncManager> sessions_sync_manager_; |
913 std::unique_ptr<syncer::DeviceInfoSyncService> device_info_sync_service_; | 913 std::unique_ptr<syncer::DeviceInfoSyncService> device_info_sync_service_; |
914 std::unique_ptr<syncer::DeviceInfoSyncBridge> device_info_service_; | 914 std::unique_ptr<syncer::DeviceInfoSyncBridge> device_info_sync_bridge_; |
915 | 915 |
916 std::unique_ptr<syncer::NetworkResources> network_resources_; | 916 std::unique_ptr<syncer::NetworkResources> network_resources_; |
917 | 917 |
918 StartBehavior start_behavior_; | 918 StartBehavior start_behavior_; |
919 std::unique_ptr<syncer::StartupController> startup_controller_; | 919 std::unique_ptr<syncer::StartupController> startup_controller_; |
920 | 920 |
921 std::unique_ptr<syncer::SyncStoppedReporter> sync_stopped_reporter_; | 921 std::unique_ptr<syncer::SyncStoppedReporter> sync_stopped_reporter_; |
922 | 922 |
923 // Listens for the system being under memory pressure. | 923 // Listens for the system being under memory pressure. |
924 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 924 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
(...skipping 30 matching lines...) Expand all Loading... |
955 base::WeakPtrFactory<ProfileSyncService> weak_factory_; | 955 base::WeakPtrFactory<ProfileSyncService> weak_factory_; |
956 | 956 |
957 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 957 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
958 }; | 958 }; |
959 | 959 |
960 bool ShouldShowActionOnUI(const syncer::SyncProtocolError& error); | 960 bool ShouldShowActionOnUI(const syncer::SyncProtocolError& error); |
961 | 961 |
962 } // namespace browser_sync | 962 } // namespace browser_sync |
963 | 963 |
964 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 964 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |