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