summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/syncer_thread.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 19:07:36 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 19:07:36 +0000
commit1ce52aae084f6a0201c64141e35772fc70bab1f0 (patch)
treef1d3ee1f356df34f5746f4659c05b0de5438a808 /chrome/browser/sync/engine/syncer_thread.cc
parentaf3711395a43fc47aa5882148edc93d9674dcdf1 (diff)
downloadchromium_src-1ce52aae084f6a0201c64141e35772fc70bab1f0.zip
chromium_src-1ce52aae084f6a0201c64141e35772fc70bab1f0.tar.gz
chromium_src-1ce52aae084f6a0201c64141e35772fc70bab1f0.tar.bz2
Implements the backend for clearing data from the server
BUG=54280 TEST=accessible only via unit test checked in this CL Original patch by raz@chromium.org Original review: http://codereview.chromium.org/3293007 Review URL: http://codereview.chromium.org/3310018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine/syncer_thread.cc')
-rw-r--r--chrome/browser/sync/engine/syncer_thread.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/sync/engine/syncer_thread.cc b/chrome/browser/sync/engine/syncer_thread.cc
index 800ddddb..324b65e 100644
--- a/chrome/browser/sync/engine/syncer_thread.cc
+++ b/chrome/browser/sync/engine/syncer_thread.cc
@@ -569,6 +569,9 @@ void SyncerThread::SetUpdatesSource(bool nudged, NudgeSource nudge_source,
case kContinuation:
updates_source = sync_pb::GetUpdatesCallerInfo::SYNC_CYCLE_CONTINUATION;
break;
+ case kClearPrivateData:
+ updates_source = sync_pb::GetUpdatesCallerInfo::CLEAR_PRIVATE_DATA;
+ break;
case kUnknown:
default:
updates_source = sync_pb::GetUpdatesCallerInfo::UNKNOWN;