| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ChangeDelegate* change_delegate, | 85 ChangeDelegate* change_delegate, |
| 86 const SyncCredentials& credentials, | 86 const SyncCredentials& credentials, |
| 87 scoped_ptr<Invalidator> invalidator, | 87 scoped_ptr<Invalidator> invalidator, |
| 88 const std::string& invalidator_client_id, | 88 const std::string& invalidator_client_id, |
| 89 const std::string& restored_key_for_bootstrapping, | 89 const std::string& restored_key_for_bootstrapping, |
| 90 const std::string& restored_keystore_key_for_bootstrapping, | 90 const std::string& restored_keystore_key_for_bootstrapping, |
| 91 scoped_ptr<InternalComponentsFactory> internal_components_factory, | 91 scoped_ptr<InternalComponentsFactory> internal_components_factory, |
| 92 Encryptor* encryptor, | 92 Encryptor* encryptor, |
| 93 UnrecoverableErrorHandler* unrecoverable_error_handler, | 93 UnrecoverableErrorHandler* unrecoverable_error_handler, |
| 94 ReportUnrecoverableErrorFunction | 94 ReportUnrecoverableErrorFunction |
| 95 report_unrecoverable_error_function) OVERRIDE; | 95 report_unrecoverable_error_function, |
| 96 bool use_oauth2_token) OVERRIDE; |
| 96 virtual void ThrowUnrecoverableError() OVERRIDE; | 97 virtual void ThrowUnrecoverableError() OVERRIDE; |
| 97 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 98 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
| 98 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 99 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
| 99 ModelTypeSet types) OVERRIDE; | 100 ModelTypeSet types) OVERRIDE; |
| 100 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 101 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
| 101 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 102 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
| 102 virtual void UpdateEnabledTypes(ModelTypeSet types) OVERRIDE; | 103 virtual void UpdateEnabledTypes(ModelTypeSet types) OVERRIDE; |
| 103 virtual void RegisterInvalidationHandler( | 104 virtual void RegisterInvalidationHandler( |
| 104 InvalidationHandler* handler) OVERRIDE; | 105 InvalidationHandler* handler) OVERRIDE; |
| 105 virtual void UpdateRegisteredInvalidationIds( | 106 virtual void UpdateRegisteredInvalidationIds( |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; | 171 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; |
| 171 | 172 |
| 172 TestUserShare test_user_share_; | 173 TestUserShare test_user_share_; |
| 173 | 174 |
| 174 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 175 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 } // namespace syncer | 178 } // namespace syncer |
| 178 | 179 |
| 179 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 180 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
| OLD | NEW |