| Index: chrome/browser/sync/glue/sync_backend_host_impl.cc
|
| diff --git a/chrome/browser/sync/glue/sync_backend_host_impl.cc b/chrome/browser/sync/glue/sync_backend_host_impl.cc
|
| index 833a9d978897c31c7896f3cd212e32a75d3c608c..75ada092ee0a79a3b62d756af9650b76d256324e 100644
|
| --- a/chrome/browser/sync/glue/sync_backend_host_impl.cc
|
| +++ b/chrome/browser/sync/glue/sync_backend_host_impl.cc
|
| @@ -872,6 +872,20 @@ void SyncBackendHostImpl::RefreshTypesForTest(syncer::ModelTypeSet types) {
|
| base::Bind(&SyncBackendHostCore::DoRefreshTypes, core_.get(), types));
|
| }
|
|
|
| +void SyncBackendHostImpl::ClearServerData(
|
| + const syncer::SyncManager::ClearServerDataCallback& callback) {
|
| + DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| + registrar_->sync_thread()->task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&SyncBackendHostCore::DoClearServerData,
|
| + core_.get(), callback));
|
| +}
|
| +
|
| +void SyncBackendHostImpl::ClearServerDataDoneOnFrontendLoop(
|
| + const syncer::SyncManager::ClearServerDataCallback& frontend_callback) {
|
| + DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| + frontend_callback.Run();
|
| +}
|
| +
|
| } // namespace browser_sync
|
|
|
| #undef SDVLOG
|
|
|