diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 21:40:12 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 21:40:12 +0000 |
commit | fff8e6f15c42b509dcd3966976c03d69fd53593b (patch) | |
tree | 96699fd92538b7a518991712fdb13d35bde9d499 /sync/sync_tests.gypi | |
parent | 99993e49b65e58a6e972426abd408cb1963c5539 (diff) | |
download | chromium_src-fff8e6f15c42b509dcd3966976c03d69fd53593b.zip chromium_src-fff8e6f15c42b509dcd3966976c03d69fd53593b.tar.gz chromium_src-fff8e6f15c42b509dcd3966976c03d69fd53593b.tar.bz2 |
Implement sync in the NonBlockingTypeProcessor
Introduces the NonBlockingTypeProcessor's sync logic. When combined
with the NonBlockingTypeProcessorCore's sync logic (which will be
introduced in a follow-up commit), this will be an alternative to the
existing sync engine implemented with DirectoryUpdateHandler and
DirectoryCommitContributor.
Adds non_blocking_sync_common.h, which defines structs to be used to
pass messages between the processor and processor core.
Adds DataTypeState as a parameter to the processor to processor core
connection methods. Eventually this will be used to initialize the
processor core with state that the processor loaded from disk.
Adds a lot of unit tests and unit test framework intrastructure. The
NonBlockingTypeProcessor and NonBlockingTypeProcessorCore's
communications with each other will be very racy. These tests are
intended to help manage the complexity this will cause by allowing us to
test all the possible race conditions individually.
BUG=351005
Review URL: https://codereview.chromium.org/280983002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272329 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 af63ad9..0948f00b 100644 --- a/sync/sync_tests.gypi +++ b/sync/sync_tests.gypi @@ -299,6 +299,8 @@ 'engine/directory_commit_contribution_unittest.cc', 'engine/directory_update_handler_unittest.cc', 'engine/get_updates_processor_unittest.cc', + 'engine/model_thread_sync_entity_unittest.cc', + 'engine/non_blocking_type_processor_unittest.cc', 'engine/sync_scheduler_unittest.cc', 'engine/syncer_proto_util_unittest.cc', 'engine/syncer_unittest.cc', |