| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BACKUP_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_BACKUP_MANAGER_H_ |
| 6 #define SYNC_INTERNAL_API_SYNC_BACKUP_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_BACKUP_MANAGER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "sync/internal_api/sync_rollback_manager_base.h" | 10 #include "sync/internal_api/sync_rollback_manager_base.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 const std::string& invalidator_client_id, | 33 const std::string& invalidator_client_id, |
| 34 const std::string& restored_key_for_bootstrapping, | 34 const std::string& restored_key_for_bootstrapping, |
| 35 const std::string& restored_keystore_key_for_bootstrapping, | 35 const std::string& restored_keystore_key_for_bootstrapping, |
| 36 InternalComponentsFactory* internal_components_factory, | 36 InternalComponentsFactory* internal_components_factory, |
| 37 Encryptor* encryptor, | 37 Encryptor* encryptor, |
| 38 scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler, | 38 scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler, |
| 39 ReportUnrecoverableErrorFunction report_unrecoverable_error_function, | 39 ReportUnrecoverableErrorFunction report_unrecoverable_error_function, |
| 40 CancelationSignal* cancelation_signal) OVERRIDE; | 40 CancelationSignal* cancelation_signal) OVERRIDE; |
| 41 virtual void SaveChanges() OVERRIDE; | 41 virtual void SaveChanges() OVERRIDE; |
| 42 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 42 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
| 43 virtual void ShutdownOnSyncThread(ShutdownReason reason) OVERRIDE; |
| 43 | 44 |
| 44 // DirectoryChangeDelegate implementation. | 45 // DirectoryChangeDelegate implementation. |
| 45 virtual ModelTypeSet HandleTransactionEndingChangeEvent( | 46 virtual ModelTypeSet HandleTransactionEndingChangeEvent( |
| 46 const syncable::ImmutableWriteTransactionInfo& write_transaction_info, | 47 const syncable::ImmutableWriteTransactionInfo& write_transaction_info, |
| 47 syncable::BaseTransaction* trans) OVERRIDE; | 48 syncable::BaseTransaction* trans) OVERRIDE; |
| 48 | 49 |
| 49 virtual void RegisterDirectoryTypeDebugInfoObserver( | 50 virtual void RegisterDirectoryTypeDebugInfoObserver( |
| 50 syncer::TypeDebugInfoObserver* observer) OVERRIDE; | 51 syncer::TypeDebugInfoObserver* observer) OVERRIDE; |
| 51 virtual void UnregisterDirectoryTypeDebugInfoObserver( | 52 virtual void UnregisterDirectoryTypeDebugInfoObserver( |
| 52 syncer::TypeDebugInfoObserver* observer) OVERRIDE; | 53 syncer::TypeDebugInfoObserver* observer) OVERRIDE; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 72 bool in_normalization_; | 73 bool in_normalization_; |
| 73 | 74 |
| 74 SyncStatus status_; | 75 SyncStatus status_; |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(SyncBackupManager); | 77 DISALLOW_COPY_AND_ASSIGN(SyncBackupManager); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace syncer | 80 } // namespace syncer |
| 80 | 81 |
| 81 #endif // SYNC_INTERNAL_API_SYNC_BACKUP_MANAGER_H_ | 82 #endif // SYNC_INTERNAL_API_SYNC_BACKUP_MANAGER_H_ |
| OLD | NEW |