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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ReportUnrecoverableErrorFunction | 77 ReportUnrecoverableErrorFunction |
78 report_unrecoverable_error_function) OVERRIDE; | 78 report_unrecoverable_error_function) OVERRIDE; |
79 virtual void ThrowUnrecoverableError() OVERRIDE; | 79 virtual void ThrowUnrecoverableError() OVERRIDE; |
80 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 80 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
81 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 81 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
82 ModelTypeSet types) OVERRIDE; | 82 ModelTypeSet types) OVERRIDE; |
83 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 83 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
84 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 84 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
85 virtual void UpdateEnabledTypes( | 85 virtual void UpdateEnabledTypes( |
86 const ModelTypeSet& enabled_types) OVERRIDE; | 86 const ModelTypeSet& enabled_types) OVERRIDE; |
| 87 virtual void UpdateRegisteredIds( |
| 88 SyncNotifierObserver* handler, const ObjectIdSet& ids) OVERRIDE; |
87 virtual void StartSyncingNormally( | 89 virtual void StartSyncingNormally( |
88 const ModelSafeRoutingInfo& routing_info) OVERRIDE; | 90 const ModelSafeRoutingInfo& routing_info) OVERRIDE; |
89 virtual void SetEncryptionPassphrase(const std::string& passphrase, | 91 virtual void SetEncryptionPassphrase(const std::string& passphrase, |
90 bool is_explicit) OVERRIDE; | 92 bool is_explicit) OVERRIDE; |
91 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; | 93 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; |
92 virtual void ConfigureSyncer( | 94 virtual void ConfigureSyncer( |
93 ConfigureReason reason, | 95 ConfigureReason reason, |
94 const ModelTypeSet& types_to_config, | 96 const ModelTypeSet& types_to_config, |
95 const ModelSafeRoutingInfo& new_routing_info, | 97 const ModelSafeRoutingInfo& new_routing_info, |
96 const base::Closure& ready_task, | 98 const base::Closure& ready_task, |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 // conflict resolver) updated the nigori's encryption keys in this chrome | 402 // conflict resolver) updated the nigori's encryption keys in this chrome |
401 // instantiation. | 403 // instantiation. |
402 int nigori_overwrite_count_; | 404 int nigori_overwrite_count_; |
403 | 405 |
404 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 406 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
405 }; | 407 }; |
406 | 408 |
407 } // namespace syncer | 409 } // namespace syncer |
408 | 410 |
409 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 411 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |