| 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_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 virtual void OnCryptographerStateChanged( | 129 virtual void OnCryptographerStateChanged( |
| 130 Cryptographer* cryptographer) OVERRIDE; | 130 Cryptographer* cryptographer) OVERRIDE; |
| 131 virtual void OnPassphraseTypeChanged( | 131 virtual void OnPassphraseTypeChanged( |
| 132 PassphraseType type, | 132 PassphraseType type, |
| 133 base::Time explicit_passphrase_time) OVERRIDE; | 133 base::Time explicit_passphrase_time) OVERRIDE; |
| 134 | 134 |
| 135 static int GetDefaultNudgeDelay(); | 135 static int GetDefaultNudgeDelay(); |
| 136 static int GetPreferencesNudgeDelay(); | 136 static int GetPreferencesNudgeDelay(); |
| 137 | 137 |
| 138 // SyncEngineEventListener implementation. | 138 // SyncEngineEventListener implementation. |
| 139 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) OVERRIDE; | 139 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE; |
| 140 virtual void OnActionableError(const SyncProtocolError& error) OVERRIDE; |
| 141 virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; |
| 142 virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE; |
| 140 | 143 |
| 141 // ServerConnectionEventListener implementation. | 144 // ServerConnectionEventListener implementation. |
| 142 virtual void OnServerConnectionEvent( | 145 virtual void OnServerConnectionEvent( |
| 143 const ServerConnectionEvent& event) OVERRIDE; | 146 const ServerConnectionEvent& event) OVERRIDE; |
| 144 | 147 |
| 145 // JsBackend implementation. | 148 // JsBackend implementation. |
| 146 virtual void SetJsEventHandler( | 149 virtual void SetJsEventHandler( |
| 147 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE; | 150 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE; |
| 148 virtual void ProcessJsMessage( | 151 virtual void ProcessJsMessage( |
| 149 const std::string& name, const JsArgList& args, | 152 const std::string& name, const JsArgList& args, |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 377 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 375 | 378 |
| 376 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 379 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 377 | 380 |
| 378 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 381 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 379 }; | 382 }; |
| 380 | 383 |
| 381 } // namespace syncer | 384 } // namespace syncer |
| 382 | 385 |
| 383 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 386 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |