diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 18:05:33 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 18:05:33 +0000 |
commit | f233b14dadfea6651036f2fcfce3c6cdb5f1503d (patch) | |
tree | f0b38cd358b6f67fc241d34d6326a6091141efdf /sync/sync_tests.gypi | |
parent | 8a3f8248312a5c0e49006489ee7bb67d9a48cfd4 (diff) | |
download | chromium_src-f233b14dadfea6651036f2fcfce3c6cdb5f1503d.zip chromium_src-f233b14dadfea6651036f2fcfce3c6cdb5f1503d.tar.gz chromium_src-f233b14dadfea6651036f2fcfce3c6cdb5f1503d.tar.bz2 |
sync: 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
Review URL: https://codereview.chromium.org/299963002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sync_tests.gypi')
-rw-r--r-- | sync/sync_tests.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/sync_tests.gypi b/sync/sync_tests.gypi index cd4f933..eea0d38 100644 --- a/sync/sync_tests.gypi +++ b/sync/sync_tests.gypi @@ -300,8 +300,10 @@ 'engine/directory_update_handler_unittest.cc', 'engine/get_updates_processor_unittest.cc', 'engine/model_thread_sync_entity_unittest.cc', + 'engine/non_blocking_type_processor_core_unittest.cc', 'engine/non_blocking_type_processor_unittest.cc', 'engine/sync_scheduler_unittest.cc', + 'engine/sync_thread_sync_entity_unittest.cc', 'engine/syncer_proto_util_unittest.cc', 'engine/syncer_unittest.cc', 'engine/syncer_util_unittest.cc', |