summaryrefslogtreecommitdiffstats
path: root/sync/sync_tests.gypi
diff options
context:
space:
mode:
authorstanisc <stanisc@chromium.org>2015-12-01 11:29:00 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-01 19:35:36 +0000
commit29a902969435eeb9f162619ec4e57e78b7035616 (patch)
treef323cf93a1a59195432c2f168378fe32651d5efc /sync/sync_tests.gypi
parent4bb8a457d2f96b3f16ebdb94577737877e825e17 (diff)
downloadchromium_src-29a902969435eeb9f162619ec4e57e78b7035616.zip
chromium_src-29a902969435eeb9f162619ec4e57e78b7035616.tar.gz
chromium_src-29a902969435eeb9f162619ec4e57e78b7035616.tar.bz2
ModelTypeEntity refactoring to use EntityData and EntityMetadata
1) Changed existing ModelTypeEntity to be based on EntityMetadata, client key, and EntityDataPtr. Changed the class construction functions slighly to better reuse the code and to be able to pass the data without copying. 2) Moved model_type_entity* files next to shared_model_type_processor* 3) Did initial implementation of the data caching, although it might still need some refinement. The code that prepares commit request data structure now uses the cached EntityDataPtr. 4) Made necessary changes in SharedModelTypeProcessor to ensure that all existing tests pass. Had to disable two re-encryption tests because they expect the data received in updates to be cached in ModelTypeEntity which isn't the case anymore. BUG=517657, 553638 Review URL: https://codereview.chromium.org/1471293005 Cr-Commit-Position: refs/heads/master@{#362475}
Diffstat (limited to 'sync/sync_tests.gypi')
-rw-r--r--sync/sync_tests.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/sync_tests.gypi b/sync/sync_tests.gypi
index e550c30..bc0c307 100644
--- a/sync/sync_tests.gypi
+++ b/sync/sync_tests.gypi
@@ -278,7 +278,6 @@
'engine/directory_update_handler_unittest.cc',
'engine/entity_tracker_unittest.cc',
'engine/get_updates_processor_unittest.cc',
- 'engine/model_type_entity_unittest.cc',
'engine/model_type_worker_unittest.cc',
'engine/sync_scheduler_unittest.cc',
'engine/syncer_proto_util_unittest.cc',
@@ -300,6 +299,7 @@
'internal_api/js_mutation_event_observer_unittest.cc',
'internal_api/js_sync_encryption_handler_observer_unittest.cc',
'internal_api/js_sync_manager_observer_unittest.cc',
+ 'internal_api/model_type_entity_unittest.cc',
'internal_api/model_type_store_backend_unittest.cc',
'internal_api/model_type_store_impl_unittest.cc',
'internal_api/protocol_event_buffer_unittest.cc',