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 CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual ~SyncBackendHostForProfileSyncTest(); | 54 virtual ~SyncBackendHostForProfileSyncTest(); |
55 | 55 |
56 MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&)); | 56 MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&)); |
57 | 57 |
58 virtual void UpdateCredentials( | 58 virtual void UpdateCredentials( |
59 const syncer::SyncCredentials& credentials) OVERRIDE; | 59 const syncer::SyncCredentials& credentials) OVERRIDE; |
60 | 60 |
61 virtual void RequestConfigureSyncer( | 61 virtual void RequestConfigureSyncer( |
62 syncer::ConfigureReason reason, | 62 syncer::ConfigureReason reason, |
63 syncer::ModelTypeSet to_download, | 63 syncer::ModelTypeSet to_download, |
| 64 syncer::ModelTypeSet to_purge, |
64 syncer::ModelTypeSet to_journal, | 65 syncer::ModelTypeSet to_journal, |
65 syncer::ModelTypeSet to_unapply, | 66 syncer::ModelTypeSet to_unapply, |
66 syncer::ModelTypeSet to_ignore, | 67 syncer::ModelTypeSet to_ignore, |
67 const syncer::ModelSafeRoutingInfo& routing_info, | 68 const syncer::ModelSafeRoutingInfo& routing_info, |
68 const base::Callback<void(syncer::ModelTypeSet, | 69 const base::Callback<void(syncer::ModelTypeSet, |
69 syncer::ModelTypeSet)>& ready_task, | 70 syncer::ModelTypeSet)>& ready_task, |
70 const base::Closure& retry_callback) OVERRIDE; | 71 const base::Closure& retry_callback) OVERRIDE; |
71 | 72 |
72 virtual void HandleSyncManagerInitializationOnFrontendLoop( | 73 virtual void HandleSyncManagerInitializationOnFrontendLoop( |
73 const syncer::WeakHandle<syncer::JsBackend>& js_backend, | 74 const syncer::WeakHandle<syncer::JsBackend>& js_backend, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 bool synchronous_sync_configuration_; | 183 bool synchronous_sync_configuration_; |
183 | 184 |
184 base::Closure callback_; | 185 base::Closure callback_; |
185 bool set_initial_sync_ended_on_init_; | 186 bool set_initial_sync_ended_on_init_; |
186 | 187 |
187 bool fail_initial_download_; | 188 bool fail_initial_download_; |
188 syncer::StorageOption storage_option_; | 189 syncer::StorageOption storage_option_; |
189 }; | 190 }; |
190 | 191 |
191 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 192 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |