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 const WeakHandle<JsEventHandler>& event_handler, | 75 const WeakHandle<JsEventHandler>& event_handler, |
76 const std::string& sync_server_and_path, | 76 const std::string& sync_server_and_path, |
77 int sync_server_port, | 77 int sync_server_port, |
78 bool use_ssl, | 78 bool use_ssl, |
79 scoped_ptr<HttpPostProviderFactory> post_factory, | 79 scoped_ptr<HttpPostProviderFactory> post_factory, |
80 const std::vector<ModelSafeWorker*>& workers, | 80 const std::vector<ModelSafeWorker*>& workers, |
81 ExtensionsActivityMonitor* extensions_activity_monitor, | 81 ExtensionsActivityMonitor* extensions_activity_monitor, |
82 ChangeDelegate* change_delegate, | 82 ChangeDelegate* change_delegate, |
83 const SyncCredentials& credentials, | 83 const SyncCredentials& credentials, |
84 scoped_ptr<Invalidator> invalidator, | 84 scoped_ptr<Invalidator> invalidator, |
| 85 const std::string& invalidator_client_id, |
85 const std::string& restored_key_for_bootstrapping, | 86 const std::string& restored_key_for_bootstrapping, |
86 const std::string& restored_keystore_key_for_bootstrapping, | 87 const std::string& restored_keystore_key_for_bootstrapping, |
87 scoped_ptr<InternalComponentsFactory> internal_components_factory, | 88 scoped_ptr<InternalComponentsFactory> internal_components_factory, |
88 Encryptor* encryptor, | 89 Encryptor* encryptor, |
89 UnrecoverableErrorHandler* unrecoverable_error_handler, | 90 UnrecoverableErrorHandler* unrecoverable_error_handler, |
90 ReportUnrecoverableErrorFunction | 91 ReportUnrecoverableErrorFunction |
91 report_unrecoverable_error_function) OVERRIDE; | 92 report_unrecoverable_error_function) OVERRIDE; |
92 virtual void ThrowUnrecoverableError() OVERRIDE; | 93 virtual void ThrowUnrecoverableError() OVERRIDE; |
93 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; | 94 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; |
94 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 95 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; | 160 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; |
160 | 161 |
161 TestUserShare test_user_share_; | 162 TestUserShare test_user_share_; |
162 | 163 |
163 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 164 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
164 }; | 165 }; |
165 | 166 |
166 } // namespace syncer | 167 } // namespace syncer |
167 | 168 |
168 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 169 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
OLD | NEW |