| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE; | 139 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE; |
| 140 virtual void OnActionableError(const SyncProtocolError& error) OVERRIDE; | 140 virtual void OnActionableError(const SyncProtocolError& error) OVERRIDE; |
| 141 virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; | 141 virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; |
| 142 virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE; | 142 virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE; |
| 143 virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE; |
| 143 | 144 |
| 144 // ServerConnectionEventListener implementation. | 145 // ServerConnectionEventListener implementation. |
| 145 virtual void OnServerConnectionEvent( | 146 virtual void OnServerConnectionEvent( |
| 146 const ServerConnectionEvent& event) OVERRIDE; | 147 const ServerConnectionEvent& event) OVERRIDE; |
| 147 | 148 |
| 148 // JsBackend implementation. | 149 // JsBackend implementation. |
| 149 virtual void SetJsEventHandler( | 150 virtual void SetJsEventHandler( |
| 150 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE; | 151 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE; |
| 151 virtual void ProcessJsMessage( | 152 virtual void ProcessJsMessage( |
| 152 const std::string& name, const JsArgList& args, | 153 const std::string& name, const JsArgList& args, |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 378 | 379 |
| 379 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 380 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 380 | 381 |
| 381 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 382 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 382 }; | 383 }; |
| 383 | 384 |
| 384 } // namespace syncer | 385 } // namespace syncer |
| 385 | 386 |
| 386 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 387 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |