Descriptionsync: Implement NonBlockingTypeProcessorCore
Introduces the second half of the non-blocking sync engine. For now,
most of the classes invovled are never instantiated outside of tests.
Adds NonBlockingTypeProcessorCore, the sync thread component of
non-blocking sync. It coordinates between the sync server and the
NonBlockingTypeProcessor that lives on the model thread. The
SyncThreadSyncEntity exists to help it handle keep track of the
in-flight sync entities.
The NonBlockingTypeProcessorCore interacts with the sync thread
components by implementing both the UpdateHandler and CommitContributor
interfaces. This allows it to take part in commit and update operations
that are managed by the syncer.
As part of its implementation of the CommitContributor interface, the
NonBlockingTypeProcessorCore introduces
a NonBlockingTypeProcessorCommitContribution class to manage its
contribution to a commit request and associated it with the response.
This CL includes a large amount of test framework code to help test the
NonBlockingTypeProcessorCore.
Makes the SyncEntityToValue function in proto_value_conversions.h
public to enable more informative debug messages.
BUG=351005
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275187
Patch Set 1 #
Total comments: 77
Patch Set 2 : Rebase #Patch Set 3 : Some fixes #Patch Set 4 : One more tiny fix #Patch Set 5 : Initial sync done support; Update tests + non_unique_name fixes #Patch Set 6 : Small comment fix #
Total comments: 19
Patch Set 7 : More review fixes #
Total comments: 2
Patch Set 8 : Last round of fixes #Patch Set 9 : Rebase #Patch Set 10 : Unbreak some tests #Messages
Total messages: 27 (0 generated)
|