Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 10584019: sync: Remove ClearUserData command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 557120742324363ae55474137c314b17734fa313..87ac76f5127f66df6af4d0ea620db87b0b18de7b 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -79,10 +79,6 @@ class SyncFrontend {
// be disabled and state cleaned up at once.
virtual void OnStopSyncingPermanently() = 0;
- // Called to handle success/failure of clearing server data
- virtual void OnClearServerDataSucceeded() = 0;
- virtual void OnClearServerDataFailed() = 0;
-
// The syncer requires a passphrase to decrypt sensitive updates. This is
// called when the first sensitive data type is setup by the user and anytime
// the passphrase is changed by another synced client. |reason| denotes why
@@ -250,9 +246,6 @@ class SyncBackendHost : public BackendDataTypeConfigurer {
// Deactivates change processing for the given data type.
void DeactivateDataType(syncable::ModelType type);
- // Asks the server to clear all data associated with ChromeSync.
- virtual bool RequestClearServerData();
-
// Called on |frontend_loop_| to obtain a handle to the UserShare needed
// for creating transactions.
sync_api::UserShare* GetUserShare() const;
@@ -452,10 +445,6 @@ class SyncBackendHost : public BackendDataTypeConfigurer {
void HandleStopSyncingPermanentlyOnFrontendLoop();
- // Called to handle success/failure of clearing server data
- void HandleClearServerDataSucceededOnFrontendLoop();
- void HandleClearServerDataFailedOnFrontendLoop();
-
// Dispatched to from OnConnectionStatusChange to handle updating
// frontend UI components.
void HandleConnectionStatusChangeOnFrontendLoop(
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698