| 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_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 bool use_ssl, | 75 bool use_ssl, |
| 76 const scoped_refptr<base::TaskRunner>& blocking_task_runner, | 76 const scoped_refptr<base::TaskRunner>& blocking_task_runner, |
| 77 scoped_ptr<HttpPostProviderFactory> post_factory, | 77 scoped_ptr<HttpPostProviderFactory> post_factory, |
| 78 const std::vector<ModelSafeWorker*>& workers, | 78 const std::vector<ModelSafeWorker*>& workers, |
| 79 ExtensionsActivityMonitor* extensions_activity_monitor, | 79 ExtensionsActivityMonitor* extensions_activity_monitor, |
| 80 ChangeDelegate* change_delegate, | 80 ChangeDelegate* change_delegate, |
| 81 const SyncCredentials& credentials, | 81 const SyncCredentials& credentials, |
| 82 scoped_ptr<SyncNotifier> sync_notifier, | 82 scoped_ptr<SyncNotifier> sync_notifier, |
| 83 const std::string& restored_key_for_bootstrapping, | 83 const std::string& restored_key_for_bootstrapping, |
| 84 const std::string& restored_keystore_key_for_bootstrapping, | 84 const std::string& restored_keystore_key_for_bootstrapping, |
| 85 bool keystore_encryption_enabled, | |
| 86 scoped_ptr<InternalComponentsFactory> internal_components_factory, | 85 scoped_ptr<InternalComponentsFactory> internal_components_factory, |
| 87 Encryptor* encryptor, | 86 Encryptor* encryptor, |
| 88 UnrecoverableErrorHandler* unrecoverable_error_handler, | 87 UnrecoverableErrorHandler* unrecoverable_error_handler, |
| 89 ReportUnrecoverableErrorFunction | 88 ReportUnrecoverableErrorFunction |
| 90 report_unrecoverable_error_function) OVERRIDE; | 89 report_unrecoverable_error_function) OVERRIDE; |
| 91 virtual void ThrowUnrecoverableError() OVERRIDE; | 90 virtual void ThrowUnrecoverableError() OVERRIDE; |
| 92 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 91 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
| 93 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 92 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
| 94 ModelTypeSet types) OVERRIDE; | 93 ModelTypeSet types) OVERRIDE; |
| 95 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 94 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 155 |
| 157 // Faked notifier state. | 156 // Faked notifier state. |
| 158 SyncNotifierRegistrar registrar_; | 157 SyncNotifierRegistrar registrar_; |
| 159 | 158 |
| 160 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 159 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
| 161 }; | 160 }; |
| 162 | 161 |
| 163 } // namespace syncer | 162 } // namespace syncer |
| 164 | 163 |
| 165 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 164 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
| OLD | NEW |