| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 ReportUnrecoverableErrorFunction | 80 ReportUnrecoverableErrorFunction |
| 81 report_unrecoverable_error_function) OVERRIDE; | 81 report_unrecoverable_error_function) OVERRIDE; |
| 82 virtual void ThrowUnrecoverableError() OVERRIDE; | 82 virtual void ThrowUnrecoverableError() OVERRIDE; |
| 83 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 83 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
| 84 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 84 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
| 85 ModelTypeSet types) OVERRIDE; | 85 ModelTypeSet types) OVERRIDE; |
| 86 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 86 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
| 87 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 87 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
| 88 virtual void UpdateEnabledTypes( | 88 virtual void UpdateEnabledTypes( |
| 89 const ModelTypeSet& enabled_types) OVERRIDE; | 89 const ModelTypeSet& enabled_types) OVERRIDE; |
| 90 virtual void SetInvalidationHandler( |
| 91 const std::string& handler_name, |
| 92 SyncNotifierObserver* handler) OVERRIDE; |
| 90 virtual void UpdateRegisteredInvalidationIds( | 93 virtual void UpdateRegisteredInvalidationIds( |
| 91 SyncNotifierObserver* handler, | 94 const std::string& handler_name, |
| 92 const ObjectIdSet& ids) OVERRIDE; | 95 const ObjectIdSet& ids) OVERRIDE; |
| 93 virtual void StartSyncingNormally( | 96 virtual void StartSyncingNormally( |
| 94 const ModelSafeRoutingInfo& routing_info) OVERRIDE; | 97 const ModelSafeRoutingInfo& routing_info) OVERRIDE; |
| 95 virtual void SetEncryptionPassphrase(const std::string& passphrase, | 98 virtual void SetEncryptionPassphrase(const std::string& passphrase, |
| 96 bool is_explicit) OVERRIDE; | 99 bool is_explicit) OVERRIDE; |
| 97 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; | 100 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; |
| 98 virtual void ConfigureSyncer( | 101 virtual void ConfigureSyncer( |
| 99 ConfigureReason reason, | 102 ConfigureReason reason, |
| 100 const ModelTypeSet& types_to_config, | 103 const ModelTypeSet& types_to_config, |
| 101 const ModelSafeRoutingInfo& new_routing_info, | 104 const ModelSafeRoutingInfo& new_routing_info, |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 // conflict resolver) updated the nigori's encryption keys in this chrome | 418 // conflict resolver) updated the nigori's encryption keys in this chrome |
| 416 // instantiation. | 419 // instantiation. |
| 417 int nigori_overwrite_count_; | 420 int nigori_overwrite_count_; |
| 418 | 421 |
| 419 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 422 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 420 }; | 423 }; |
| 421 | 424 |
| 422 } // namespace syncer | 425 } // namespace syncer |
| 423 | 426 |
| 424 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 427 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |