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

Side by Side Diff: components/browser_sync/profile_sync_service.h

Issue 2568743004: [Sync] Stop deleting LevelDB files when deleting Directory (Closed)
Patch Set: Updated for Max's comments. Created 4 years 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 #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
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
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_
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_components_factory_impl.cc ('k') | components/browser_sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698