From e5cee9379e450da52d4a4f1f3aa52c1c2353f29b Mon Sep 17 00:00:00 2001 From: "rlarocque@chromium.org" Date: Tue, 20 May 2014 21:42:52 +0000 Subject: sync: Enable typed tombstones commits Modifies commit logic to include the model type of items in commit requests. The model type is implicitly specified by the presence of a sub-message in the EntitySpecifics field. Prior to this commit, only bookmarks would populate the sync entities on commit. The special case for bookmarks was introduced recently, in r265587. Unlike the bookmarks case, the non-bookmark items send up only enough specifics to identify the model type. The rest of the specifics are not set. This commit also adds some tests of the bookmark and non-bookmark deletion request behaviors. BUG=365752,373859 Review URL: https://codereview.chromium.org/298503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271763 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/protocol/sync.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sync/protocol') diff --git a/sync/protocol/sync.proto b/sync/protocol/sync.proto index 1e9b66a..2768242 100644 --- a/sync/protocol/sync.proto +++ b/sync/protocol/sync.proto @@ -692,7 +692,7 @@ message DataTypeContext { message ClientToServerMessage { required string share = 1; - optional int32 protocol_version = 2 [default = 32]; + optional int32 protocol_version = 2 [default = 33]; enum Contents { COMMIT = 1; GET_UPDATES = 2; -- cgit v1.1