[Sync] Add ClearServerData RPC
commitc48c05afc620ffa8d00eea2d6e3fa4059e7f88ab
authormaniscalco <maniscalco@chromium.org>
Wed, 8 Jul 2015 15:43:55 +0000 (8 08:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Jul 2015 15:44:33 +0000 (8 15:44 +0000)
tree33a18287a9c9cfef42809670626eb492e2b639ef
parentc927a561cbc64db0326d02f770307663bce83447
[Sync] Add ClearServerData RPC

Add a new message type (ClearServerData) to the sync protocol.

Add infrastructure necessary to call the new RPC, but don't actually
call it. Calling it will happen in a future CL.

Update FakeServer to receive and process the new message type.

BUG=490836

Review URL: https://codereview.chromium.org/1213623015

Cr-Commit-Position: refs/heads/master@{#337824}
13 files changed:
sync/BUILD.gn
sync/engine/clear_server_data.cc [new file with mode: 0644]
sync/engine/clear_server_data.h [new file with mode: 0644]
sync/engine/syncer_proto_util.cc
sync/internal_api/events/clear_server_data_request_event.cc [new file with mode: 0644]
sync/internal_api/events/clear_server_data_response_event.cc [new file with mode: 0644]
sync/internal_api/public/events/clear_server_data_request_event.h [new file with mode: 0644]
sync/internal_api/public/events/clear_server_data_response_event.h [new file with mode: 0644]
sync/protocol/sync.proto
sync/sync.gyp
sync/test/engine/mock_connection_manager.cc
sync/test/engine/mock_connection_manager.h
sync/test/fake_server/fake_server.cc