OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ |
6 #define COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ | 6 #define COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 SyncStatus GetDetailedStatus() const override; | 92 SyncStatus GetDetailedStatus() const override; |
93 void SaveChanges() override; | 93 void SaveChanges() override; |
94 void ShutdownOnSyncThread(ShutdownReason reason) override; | 94 void ShutdownOnSyncThread(ShutdownReason reason) override; |
95 UserShare* GetUserShare() override; | 95 UserShare* GetUserShare() override; |
96 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() | 96 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() |
97 override; | 97 override; |
98 const std::string cache_guid() override; | 98 const std::string cache_guid() override; |
99 bool ReceivedExperiment(Experiments* experiments) override; | 99 bool ReceivedExperiment(Experiments* experiments) override; |
100 bool HasUnsyncedItems() override; | 100 bool HasUnsyncedItems() override; |
101 SyncEncryptionHandler* GetEncryptionHandler() override; | 101 SyncEncryptionHandler* GetEncryptionHandler() override; |
102 ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() override; | 102 std::vector<std::unique_ptr<ProtocolEvent>> GetBufferedProtocolEvents() |
| 103 override; |
103 std::unique_ptr<base::ListValue> GetAllNodesForType( | 104 std::unique_ptr<base::ListValue> GetAllNodesForType( |
104 syncer::ModelType type) override; | 105 syncer::ModelType type) override; |
105 void RegisterDirectoryTypeDebugInfoObserver( | 106 void RegisterDirectoryTypeDebugInfoObserver( |
106 syncer::TypeDebugInfoObserver* observer) override; | 107 syncer::TypeDebugInfoObserver* observer) override; |
107 void UnregisterDirectoryTypeDebugInfoObserver( | 108 void UnregisterDirectoryTypeDebugInfoObserver( |
108 syncer::TypeDebugInfoObserver* observer) override; | 109 syncer::TypeDebugInfoObserver* observer) override; |
109 bool HasDirectoryTypeDebugInfoObserver( | 110 bool HasDirectoryTypeDebugInfoObserver( |
110 syncer::TypeDebugInfoObserver* observer) override; | 111 syncer::TypeDebugInfoObserver* observer) override; |
111 void RequestEmitDebugInfo() override; | 112 void RequestEmitDebugInfo() override; |
112 void ClearServerData(const ClearServerDataCallback& callback) override; | 113 void ClearServerData(const ClearServerDataCallback& callback) override; |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 336 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
336 | 337 |
337 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 338 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
338 | 339 |
339 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 340 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
340 }; | 341 }; |
341 | 342 |
342 } // namespace syncer | 343 } // namespace syncer |
343 | 344 |
344 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ | 345 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ |
OLD | NEW |