Descriptionsync: Implement per-type GetCommitIds
Convert the SyncerCommand GetCommitIdsCommand into a function named
GetCommitIds that serves the same purpose. There was no benefit in
keeping this functionality in a SyncerCommand, and doing so would have
made the implementation of a per-type GetCommitIds more difficult.
Expose a function to get the IDs to commit for a single data type. This
function is used in the implementation of GetCommitIdsCommand, but
nowhere else. It will become more useful when we try to implement the
model type abstraction layer.
BUG=278484
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222234
Patch Set 1 #Patch Set 2 : Fix include order #Patch Set 3 : Comments + algorithm improvements #
Total comments: 17
Patch Set 4 : Address comments; hide some functions in empty namespace #Patch Set 5 : Rearrange the header file #Patch Set 6 : Remove unnecessary whitespace #
Total comments: 9
Patch Set 7 : Address Tim's comments #
Total comments: 7
Patch Set 8 : Fix some nits #
Messages
Total messages: 10 (0 generated)
|