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_GLUE_SYNC_BACKEND_HOST_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 virtual void EnableDirectoryTypeDebugInfoForwarding() = 0; | 215 virtual void EnableDirectoryTypeDebugInfoForwarding() = 0; |
216 | 216 |
217 // Disables the sending of directory type debug counters. | 217 // Disables the sending of directory type debug counters. |
218 virtual void DisableDirectoryTypeDebugInfoForwarding() = 0; | 218 virtual void DisableDirectoryTypeDebugInfoForwarding() = 0; |
219 | 219 |
220 virtual base::MessageLoop* GetSyncLoopForTesting() = 0; | 220 virtual base::MessageLoop* GetSyncLoopForTesting() = 0; |
221 | 221 |
222 // Triggers sync cycle to update |types|. | 222 // Triggers sync cycle to update |types|. |
223 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; | 223 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; |
224 | 224 |
| 225 // See SyncManager::ClearServerData. |
| 226 virtual void ClearServerData( |
| 227 const syncer::SyncManager::ClearServerDataCallback& callback) = 0; |
| 228 |
225 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 229 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
226 }; | 230 }; |
227 | 231 |
228 } // namespace browser_sync | 232 } // namespace browser_sync |
229 | 233 |
230 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 234 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
OLD | NEW |