diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 21:42:52 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 21:42:52 +0000 |
commit | e5cee9379e450da52d4a4f1f3aa52c1c2353f29b (patch) | |
tree | a93144953eeaad44a7abb523f47c328a91c8376b /sync/protocol | |
parent | eaabbe3e70bde9a51878758bac5a74590b06f388 (diff) | |
download | chromium_src-e5cee9379e450da52d4a4f1f3aa52c1c2353f29b.zip chromium_src-e5cee9379e450da52d4a4f1f3aa52c1c2353f29b.tar.gz chromium_src-e5cee9379e450da52d4a4f1f3aa52c1c2353f29b.tar.bz2 |
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
Diffstat (limited to 'sync/protocol')
-rw-r--r-- | sync/protocol/sync.proto | 2 |
1 files changed, 1 insertions, 1 deletions
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; |