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

Side by Side Diff: components/sync/engine_impl/sync_manager_impl.h

Issue 2452713003: [Sync] Implement MemoryDumpProvider. (Closed)
Patch Set: Created 4 years, 1 month 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 COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 override; 103 override;
104 void RegisterDirectoryTypeDebugInfoObserver( 104 void RegisterDirectoryTypeDebugInfoObserver(
105 TypeDebugInfoObserver* observer) override; 105 TypeDebugInfoObserver* observer) override;
106 void UnregisterDirectoryTypeDebugInfoObserver( 106 void UnregisterDirectoryTypeDebugInfoObserver(
107 TypeDebugInfoObserver* observer) override; 107 TypeDebugInfoObserver* observer) override;
108 bool HasDirectoryTypeDebugInfoObserver( 108 bool HasDirectoryTypeDebugInfoObserver(
109 TypeDebugInfoObserver* observer) override; 109 TypeDebugInfoObserver* observer) override;
110 void RequestEmitDebugInfo() override; 110 void RequestEmitDebugInfo() override;
111 void ClearServerData(const ClearServerDataCallback& callback) override; 111 void ClearServerData(const ClearServerDataCallback& callback) override;
112 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; 112 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
113 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) override;
113 114
114 // SyncEncryptionHandler::Observer implementation. 115 // SyncEncryptionHandler::Observer implementation.
115 void OnPassphraseRequired( 116 void OnPassphraseRequired(
116 PassphraseRequiredReason reason, 117 PassphraseRequiredReason reason,
117 const sync_pb::EncryptedData& pending_keys) override; 118 const sync_pb::EncryptedData& pending_keys) override;
118 void OnPassphraseAccepted() override; 119 void OnPassphraseAccepted() override;
119 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, 120 void OnBootstrapTokenUpdated(const std::string& bootstrap_token,
120 BootstrapTokenType type) override; 121 BootstrapTokenType type) override;
121 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, 122 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types,
122 bool encrypt_everything) override; 123 bool encrypt_everything) override;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 344 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698