diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
| -rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 5732ebf..226923e 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -372,6 +372,10 @@ void ProfileSyncService::EnableForUser(gfx::NativeWindow parent_window) { FOR_EACH_OBSERVER(Observer, observers_, OnStateChanged()); } +void ProfileSyncService::ClearServerData() { + backend_->RequestClearServerData(); +} + void ProfileSyncService::DisableForUser() { LOG(INFO) << "Clearing Sync DB."; @@ -532,6 +536,14 @@ void ProfileSyncService::OnStopSyncingPermanently() { DisableForUser(); } +void ProfileSyncService::OnClearServerDataFailed() { + // TODO(raz): Bug#54349 Wire up to ui when available +} + +void ProfileSyncService::OnClearServerDataSucceeded() { + // TODO(raz): Bug#54349 Wire up to ui when available +} + void ProfileSyncService::ShowLoginDialog(gfx::NativeWindow parent_window) { if (WizardIsVisible()) { wizard_.Focus(); |
