| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 void OnPassphraseTypeChanged(PassphraseType type, | 124 void OnPassphraseTypeChanged(PassphraseType type, |
| 125 base::Time explicit_passphrase_time) override; | 125 base::Time explicit_passphrase_time) override; |
| 126 void OnLocalSetPassphraseEncryption( | 126 void OnLocalSetPassphraseEncryption( |
| 127 const SyncEncryptionHandler::NigoriState& nigori_state) override; | 127 const SyncEncryptionHandler::NigoriState& nigori_state) override; |
| 128 | 128 |
| 129 // SyncEngineEventListener implementation. | 129 // SyncEngineEventListener implementation. |
| 130 void OnSyncCycleEvent(const SyncCycleEvent& event) override; | 130 void OnSyncCycleEvent(const SyncCycleEvent& event) override; |
| 131 void OnActionableError(const SyncProtocolError& error) override; | 131 void OnActionableError(const SyncProtocolError& error) override; |
| 132 void OnRetryTimeChanged(base::Time retry_time) override; | 132 void OnRetryTimeChanged(base::Time retry_time) override; |
| 133 void OnThrottledTypesChanged(ModelTypeSet throttled_types) override; | 133 void OnThrottledTypesChanged(ModelTypeSet throttled_types) override; |
| 134 void OnBackedOffTypesChanged(ModelTypeSet backed_off_types) override; |
| 134 void OnMigrationRequested(ModelTypeSet types) override; | 135 void OnMigrationRequested(ModelTypeSet types) override; |
| 135 void OnProtocolEvent(const ProtocolEvent& event) override; | 136 void OnProtocolEvent(const ProtocolEvent& event) override; |
| 136 | 137 |
| 137 // ServerConnectionEventListener implementation. | 138 // ServerConnectionEventListener implementation. |
| 138 void OnServerConnectionEvent(const ServerConnectionEvent& event) override; | 139 void OnServerConnectionEvent(const ServerConnectionEvent& event) override; |
| 139 | 140 |
| 140 // JsBackend implementation. | 141 // JsBackend implementation. |
| 141 void SetJsEventHandler( | 142 void SetJsEventHandler( |
| 142 const WeakHandle<JsEventHandler>& event_handler) override; | 143 const WeakHandle<JsEventHandler>& event_handler) override; |
| 143 | 144 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 334 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 334 | 335 |
| 335 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 336 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 336 | 337 |
| 337 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 338 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 338 }; | 339 }; |
| 339 | 340 |
| 340 } // namespace syncer | 341 } // namespace syncer |
| 341 | 342 |
| 342 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ | 343 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ |
| OLD | NEW |