| 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_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 Loading... |
| 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 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_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ | 344 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ |
| OLD | NEW |