summaryrefslogtreecommitdiffstats
path: root/sync/engine/syncer.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-20 00:02:21 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-20 00:02:21 +0000
commit729c49e105ff2eff40c230aa9bc5def53ed26a37 (patch)
tree1018cec7ac0b3b0232aa8e84cda9d8b361f940f4 /sync/engine/syncer.cc
parent36cd3ef210d89988628cb58bb967755831d50afe (diff)
downloadchromium_src-729c49e105ff2eff40c230aa9bc5def53ed26a37.zip
chromium_src-729c49e105ff2eff40c230aa9bc5def53ed26a37.tar.gz
chromium_src-729c49e105ff2eff40c230aa9bc5def53ed26a37.tar.bz2
sync: Remove ClearUserData command.
BUG=131336 TEST=none Review URL: https://chromiumcodereview.appspot.com/10584019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/syncer.cc')
-rw-r--r--sync/engine/syncer.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sync/engine/syncer.cc b/sync/engine/syncer.cc
index c17c0f8..01c8ae6 100644
--- a/sync/engine/syncer.cc
+++ b/sync/engine/syncer.cc
@@ -13,7 +13,6 @@
#include "sync/engine/apply_updates_command.h"
#include "sync/engine/build_commit_command.h"
#include "sync/engine/cleanup_disabled_types_command.h"
-#include "sync/engine/clear_data_command.h"
#include "sync/engine/commit.h"
#include "sync/engine/conflict_resolver.h"
#include "sync/engine/download_updates_command.h"
@@ -68,7 +67,6 @@ const char* SyncerStepToString(const SyncerStep step)
ENUM_CASE(COMMIT);
ENUM_CASE(RESOLVE_CONFLICTS);
ENUM_CASE(APPLY_UPDATES_TO_RESOLVE_CONFLICTS);
- ENUM_CASE(CLEAR_PRIVATE_DATA);
ENUM_CASE(SYNCER_END);
}
NOTREACHED();
@@ -226,12 +224,6 @@ void Syncer::SyncShare(sessions::SyncSession* session,
next_step = SYNCER_END;
break;
}
- case CLEAR_PRIVATE_DATA: {
- ClearDataCommand clear_data_command;
- clear_data_command.Execute(session);
- next_step = SYNCER_END;
- break;
- }
case SYNCER_END: {
session->SendEventNotification(SyncEngineEvent::SYNC_CYCLE_ENDED);
next_step = SYNCER_END;