| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 override; | 102 override; |
| 103 void RegisterDirectoryTypeDebugInfoObserver( | 103 void RegisterDirectoryTypeDebugInfoObserver( |
| 104 TypeDebugInfoObserver* observer) override; | 104 TypeDebugInfoObserver* observer) override; |
| 105 void UnregisterDirectoryTypeDebugInfoObserver( | 105 void UnregisterDirectoryTypeDebugInfoObserver( |
| 106 TypeDebugInfoObserver* observer) override; | 106 TypeDebugInfoObserver* observer) override; |
| 107 bool HasDirectoryTypeDebugInfoObserver( | 107 bool HasDirectoryTypeDebugInfoObserver( |
| 108 TypeDebugInfoObserver* observer) override; | 108 TypeDebugInfoObserver* observer) override; |
| 109 void RequestEmitDebugInfo() override; | 109 void RequestEmitDebugInfo() override; |
| 110 void ClearServerData(const ClearServerDataCallback& callback) override; | 110 void ClearServerData(const ClearServerDataCallback& callback) override; |
| 111 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; | 111 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; |
| 112 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) override; |
| 112 | 113 |
| 113 // SyncEncryptionHandler::Observer implementation. | 114 // SyncEncryptionHandler::Observer implementation. |
| 114 void OnPassphraseRequired( | 115 void OnPassphraseRequired( |
| 115 PassphraseRequiredReason reason, | 116 PassphraseRequiredReason reason, |
| 116 const sync_pb::EncryptedData& pending_keys) override; | 117 const sync_pb::EncryptedData& pending_keys) override; |
| 117 void OnPassphraseAccepted() override; | 118 void OnPassphraseAccepted() override; |
| 118 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, | 119 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, |
| 119 BootstrapTokenType type) override; | 120 BootstrapTokenType type) override; |
| 120 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, | 121 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, |
| 121 bool encrypt_everything) override; | 122 bool encrypt_everything) override; |
| (...skipping 212 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 |