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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 ReportUnrecoverableErrorFunction | 79 ReportUnrecoverableErrorFunction |
80 report_unrecoverable_error_function) OVERRIDE; | 80 report_unrecoverable_error_function) OVERRIDE; |
81 virtual void ThrowUnrecoverableError() OVERRIDE; | 81 virtual void ThrowUnrecoverableError() OVERRIDE; |
82 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 82 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
83 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 83 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
84 ModelTypeSet types) OVERRIDE; | 84 ModelTypeSet types) OVERRIDE; |
85 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 85 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
86 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 86 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
87 virtual void UpdateEnabledTypes( | 87 virtual void UpdateEnabledTypes( |
88 const ModelTypeSet& enabled_types) OVERRIDE; | 88 const ModelTypeSet& enabled_types) OVERRIDE; |
| 89 virtual void SetInvalidationHandler( |
| 90 const std::string& handler_name, |
| 91 SyncNotifierObserver* handler) OVERRIDE; |
89 virtual void UpdateRegisteredInvalidationIds( | 92 virtual void UpdateRegisteredInvalidationIds( |
90 SyncNotifierObserver* handler, | 93 const std::string& handler_name, |
91 const ObjectIdSet& ids) OVERRIDE; | 94 const ObjectIdSet& ids) OVERRIDE; |
92 virtual void StartSyncingNormally( | 95 virtual void StartSyncingNormally( |
93 const ModelSafeRoutingInfo& routing_info) OVERRIDE; | 96 const ModelSafeRoutingInfo& routing_info) OVERRIDE; |
94 virtual void SetEncryptionPassphrase(const std::string& passphrase, | 97 virtual void SetEncryptionPassphrase(const std::string& passphrase, |
95 bool is_explicit) OVERRIDE; | 98 bool is_explicit) OVERRIDE; |
96 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; | 99 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; |
97 virtual void ConfigureSyncer( | 100 virtual void ConfigureSyncer( |
98 ConfigureReason reason, | 101 ConfigureReason reason, |
99 const ModelTypeSet& types_to_config, | 102 const ModelTypeSet& types_to_config, |
100 const ModelSafeRoutingInfo& new_routing_info, | 103 const ModelSafeRoutingInfo& new_routing_info, |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 // conflict resolver) updated the nigori's encryption keys in this chrome | 409 // conflict resolver) updated the nigori's encryption keys in this chrome |
407 // instantiation. | 410 // instantiation. |
408 int nigori_overwrite_count_; | 411 int nigori_overwrite_count_; |
409 | 412 |
410 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 413 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
411 }; | 414 }; |
412 | 415 |
413 } // namespace syncer | 416 } // namespace syncer |
414 | 417 |
415 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 418 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |