summaryrefslogtreecommitdiffstats
path: root/sync/android
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 00:03:47 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 00:03:47 +0000
commit1ab2d7f5a751ad863e4e5eba7ecd7020559ff74a (patch)
treea80c59fe6bdd66aa1a576ca17d07d8a1a1040997 /sync/android
parent268d4089eb9ebc9cdd997a3998228fd848da8fc5 (diff)
downloadchromium_src-1ab2d7f5a751ad863e4e5eba7ecd7020559ff74a.zip
chromium_src-1ab2d7f5a751ad863e4e5eba7ecd7020559ff74a.tar.gz
chromium_src-1ab2d7f5a751ad863e4e5eba7ecd7020559ff74a.tar.bz2
sync: Implement per-type commit interface
Move most commit logic into per-type instances of SyncDirectoryCommitContributor and SyncDirectoryCommitContribution classes. Make GetCommitIdsCommand and ProcessCommitResponseCommand into container classes with only static methods. Remove OrderedCommitSet. The point of these changes is to make way for different kinds of entity committers. The SyncDirectoryCommitContributor and SyncDirectoryCommitContribution will eventually refactored into implementations of more generic "commit contributor" and "commit contribution" interfaces. This commit leaves us with some structures that might look a bit odd to someone unfamiliar with the history of this code. In particular, many of the old SyncerCommands look out of place. We plan to refactor them in future CLs. For now, it's more important to make sure this CL has an easy to read diff. BUG=278484 Review URL: https://codereview.chromium.org/25638003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/android')
0 files changed, 0 insertions, 0 deletions