| 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 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 std::unique_ptr<base::ListValue> GetAllNodesForType( | 107 std::unique_ptr<base::ListValue> GetAllNodesForType( |
| 108 syncer::ModelType type) override; | 108 syncer::ModelType type) override; |
| 109 void RegisterDirectoryTypeDebugInfoObserver( | 109 void RegisterDirectoryTypeDebugInfoObserver( |
| 110 syncer::TypeDebugInfoObserver* observer) override; | 110 syncer::TypeDebugInfoObserver* observer) override; |
| 111 void UnregisterDirectoryTypeDebugInfoObserver( | 111 void UnregisterDirectoryTypeDebugInfoObserver( |
| 112 syncer::TypeDebugInfoObserver* observer) override; | 112 syncer::TypeDebugInfoObserver* observer) override; |
| 113 bool HasDirectoryTypeDebugInfoObserver( | 113 bool HasDirectoryTypeDebugInfoObserver( |
| 114 syncer::TypeDebugInfoObserver* observer) override; | 114 syncer::TypeDebugInfoObserver* observer) override; |
| 115 void RequestEmitDebugInfo() override; | 115 void RequestEmitDebugInfo() override; |
| 116 void ClearServerData(const ClearServerDataCallback& callback) override; | 116 void ClearServerData(const ClearServerDataCallback& callback) override; |
| 117 void OnCookieJarChanged(bool account_mismatch) override; | 117 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; |
| 118 | 118 |
| 119 // SyncEncryptionHandler::Observer implementation. | 119 // SyncEncryptionHandler::Observer implementation. |
| 120 void OnPassphraseRequired( | 120 void OnPassphraseRequired( |
| 121 PassphraseRequiredReason reason, | 121 PassphraseRequiredReason reason, |
| 122 const sync_pb::EncryptedData& pending_keys) override; | 122 const sync_pb::EncryptedData& pending_keys) override; |
| 123 void OnPassphraseAccepted() override; | 123 void OnPassphraseAccepted() override; |
| 124 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, | 124 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, |
| 125 BootstrapTokenType type) override; | 125 BootstrapTokenType type) override; |
| 126 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, | 126 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, |
| 127 bool encrypt_everything) override; | 127 bool encrypt_everything) override; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 341 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 342 | 342 |
| 343 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 343 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 344 | 344 |
| 345 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 345 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 346 }; | 346 }; |
| 347 | 347 |
| 348 } // namespace syncer | 348 } // namespace syncer |
| 349 | 349 |
| 350 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ | 350 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ |
| OLD | NEW |