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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const ModelSafeRoutingInfo& new_routing_info, | 83 const ModelSafeRoutingInfo& new_routing_info, |
84 const base::Closure& ready_task, | 84 const base::Closure& ready_task, |
85 const base::Closure& retry_task) override; | 85 const base::Closure& retry_task) override; |
86 void SetInvalidatorEnabled(bool invalidator_enabled) override; | 86 void SetInvalidatorEnabled(bool invalidator_enabled) override; |
87 void OnIncomingInvalidation( | 87 void OnIncomingInvalidation( |
88 syncer::ModelType type, | 88 syncer::ModelType type, |
89 std::unique_ptr<InvalidationInterface> invalidation) override; | 89 std::unique_ptr<InvalidationInterface> invalidation) override; |
90 void AddObserver(SyncManager::Observer* observer) override; | 90 void AddObserver(SyncManager::Observer* observer) override; |
91 void RemoveObserver(SyncManager::Observer* observer) override; | 91 void RemoveObserver(SyncManager::Observer* observer) override; |
92 SyncStatus GetDetailedStatus() const override; | 92 SyncStatus GetDetailedStatus() const override; |
| 93 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) override; |
93 void SaveChanges() override; | 94 void SaveChanges() override; |
94 void ShutdownOnSyncThread(ShutdownReason reason) override; | 95 void ShutdownOnSyncThread(ShutdownReason reason) override; |
95 UserShare* GetUserShare() override; | 96 UserShare* GetUserShare() override; |
96 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() | 97 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() |
97 override; | 98 override; |
98 const std::string cache_guid() override; | 99 const std::string cache_guid() override; |
99 bool ReceivedExperiment(Experiments* experiments) override; | 100 bool ReceivedExperiment(Experiments* experiments) override; |
100 bool HasUnsyncedItems() override; | 101 bool HasUnsyncedItems() override; |
101 SyncEncryptionHandler* GetEncryptionHandler() override; | 102 SyncEncryptionHandler* GetEncryptionHandler() override; |
102 std::vector<std::unique_ptr<ProtocolEvent>> GetBufferedProtocolEvents() | 103 std::vector<std::unique_ptr<ProtocolEvent>> GetBufferedProtocolEvents() |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 335 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
335 | 336 |
336 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 337 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
337 | 338 |
338 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 339 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
339 }; | 340 }; |
340 | 341 |
341 } // namespace syncer | 342 } // namespace syncer |
342 | 343 |
343 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ | 344 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ |
OLD | NEW |