| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 SyncManager::ChangeDelegate* change_delegate, | 75 SyncManager::ChangeDelegate* change_delegate, |
| 76 const SyncCredentials& credentials, | 76 const SyncCredentials& credentials, |
| 77 scoped_ptr<Invalidator> invalidator, | 77 scoped_ptr<Invalidator> invalidator, |
| 78 const std::string& invalidator_client_id, | 78 const std::string& invalidator_client_id, |
| 79 const std::string& restored_key_for_bootstrapping, | 79 const std::string& restored_key_for_bootstrapping, |
| 80 const std::string& restored_keystore_key_for_bootstrapping, | 80 const std::string& restored_keystore_key_for_bootstrapping, |
| 81 scoped_ptr<InternalComponentsFactory> internal_components_factory, | 81 scoped_ptr<InternalComponentsFactory> internal_components_factory, |
| 82 Encryptor* encryptor, | 82 Encryptor* encryptor, |
| 83 UnrecoverableErrorHandler* unrecoverable_error_handler, | 83 UnrecoverableErrorHandler* unrecoverable_error_handler, |
| 84 ReportUnrecoverableErrorFunction | 84 ReportUnrecoverableErrorFunction |
| 85 report_unrecoverable_error_function) OVERRIDE; | 85 report_unrecoverable_error_function, |
| 86 bool use_oauth2_token) OVERRIDE; |
| 86 virtual void ThrowUnrecoverableError() OVERRIDE; | 87 virtual void ThrowUnrecoverableError() OVERRIDE; |
| 87 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 88 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
| 88 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 89 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
| 89 ModelTypeSet types) OVERRIDE; | 90 ModelTypeSet types) OVERRIDE; |
| 90 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 91 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
| 91 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 92 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
| 92 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE; | 93 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE; |
| 93 virtual void RegisterInvalidationHandler( | 94 virtual void RegisterInvalidationHandler( |
| 94 InvalidationHandler* handler) OVERRIDE; | 95 InvalidationHandler* handler) OVERRIDE; |
| 95 virtual void UpdateRegisteredInvalidationIds( | 96 virtual void UpdateRegisteredInvalidationIds( |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 // changing passphrases, and in general handles sync-specific interactions | 389 // changing passphrases, and in general handles sync-specific interactions |
| 389 // with the cryptographer. | 390 // with the cryptographer. |
| 390 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 391 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 391 | 392 |
| 392 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 393 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 393 }; | 394 }; |
| 394 | 395 |
| 395 } // namespace syncer | 396 } // namespace syncer |
| 396 | 397 |
| 397 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 398 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |