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

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 2084243004: [WIP][tracing] Add memory dump provider for sync Directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 4 years, 5 months 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 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 SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const ModelSafeRoutingInfo& new_routing_info, 87 const ModelSafeRoutingInfo& new_routing_info,
88 const base::Closure& ready_task, 88 const base::Closure& ready_task,
89 const base::Closure& retry_task) override; 89 const base::Closure& retry_task) override;
90 void SetInvalidatorEnabled(bool invalidator_enabled) override; 90 void SetInvalidatorEnabled(bool invalidator_enabled) override;
91 void OnIncomingInvalidation( 91 void OnIncomingInvalidation(
92 syncer::ModelType type, 92 syncer::ModelType type,
93 std::unique_ptr<InvalidationInterface> invalidation) override; 93 std::unique_ptr<InvalidationInterface> invalidation) override;
94 void AddObserver(SyncManager::Observer* observer) override; 94 void AddObserver(SyncManager::Observer* observer) override;
95 void RemoveObserver(SyncManager::Observer* observer) override; 95 void RemoveObserver(SyncManager::Observer* observer) override;
96 SyncStatus GetDetailedStatus() const override; 96 SyncStatus GetDetailedStatus() const override;
97 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) override;
97 void SaveChanges() override; 98 void SaveChanges() override;
98 void ShutdownOnSyncThread(ShutdownReason reason) override; 99 void ShutdownOnSyncThread(ShutdownReason reason) override;
99 UserShare* GetUserShare() override; 100 UserShare* GetUserShare() override;
100 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() 101 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy()
101 override; 102 override;
102 const std::string cache_guid() override; 103 const std::string cache_guid() override;
103 bool ReceivedExperiment(Experiments* experiments) override; 104 bool ReceivedExperiment(Experiments* experiments) override;
104 bool HasUnsyncedItems() override; 105 bool HasUnsyncedItems() override;
105 SyncEncryptionHandler* GetEncryptionHandler() override; 106 SyncEncryptionHandler* GetEncryptionHandler() override;
106 ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() override; 107 ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() override;
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 342 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
342 343
343 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 344 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
344 345
345 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 346 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
346 }; 347 };
347 348
348 } // namespace syncer 349 } // namespace syncer
349 350
350 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ 351 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698