Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 2473553003: [Sync] Improve MetadataChangeList usage for types using ModelTypeStore. (Closed)

Created:
4 years, 1 month ago by maxbogue
Modified:
4 years, 1 month ago
Reviewers:
skym, pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Improve MetadataChangeList usage for types using ModelTypeStore. - Added WriteBatch::CreateMetadataChangeList() and WriteBatch::GetMetadataChangeList(). - Split off InMemoryMetadataChangeList from SimpleMCL to be a new base class for MCLs that store things in memory. - Split off AccumulatingMetadataChangeList from SimpleMCL. - Move SimpleMCL inside FakeModelTypeSyncBridge as TestMetadataChangeList. BUG=661260 Committed: https://crrev.com/73b065e269ab993b5ffcb2d88344b8754894b05c Cr-Commit-Position: refs/heads/master@{#429749}

Patch Set 1 #

Patch Set 2 : Polish. #

Total comments: 2

Patch Set 3 : Fix comments + protected constructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -399 lines) Patch
M components/sync/BUILD.gn View 1 3 chunks +5 lines, -3 lines 0 comments Download
M components/sync/device_info/device_info_sync_bridge.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M components/sync/device_info/device_info_sync_bridge.cc View 1 5 chunks +11 lines, -16 lines 0 comments Download
M components/sync/model/fake_model_type_sync_bridge.cc View 1 6 chunks +34 lines, -18 lines 0 comments Download
M components/sync/model/mock_model_type_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/model/model_type_store.h View 1 2 chunks +25 lines, -1 line 0 comments Download
M components/sync/model/model_type_store.cc View 1 2 chunks +24 lines, -1 line 0 comments Download
D components/sync/model/simple_metadata_change_list.h View 1 1 chunk +0 lines, -66 lines 0 comments Download
D components/sync/model/simple_metadata_change_list.cc View 1 1 chunk +0 lines, -79 lines 0 comments Download
D components/sync/model/simple_metadata_change_list_unittest.cc View 1 1 chunk +0 lines, -191 lines 0 comments Download
A components/sync/model_impl/accumulating_metadata_change_list.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A components/sync/model_impl/accumulating_metadata_change_list.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download
A + components/sync/model_impl/accumulating_metadata_change_list_unittest.cc View 1 7 chunks +32 lines, -17 lines 0 comments Download
A components/sync/model_impl/in_memory_metadata_change_list.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A components/sync/model_impl/in_memory_metadata_change_list.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M components/sync/model_impl/model_type_store_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/sync/model_impl/model_type_store_impl.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync/model_impl/shared_model_type_processor_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 27 (17 generated)
maxbogue
Sky, Pavel, PTAL!
4 years, 1 month ago (2016-11-03 03:47:37 UTC) #5
skym
lgtm https://codereview.chromium.org/2473553003/diff/20001/components/sync/model_impl/in_memory_metadata_change_list.h File components/sync/model_impl/in_memory_metadata_change_list.h (right): https://codereview.chromium.org/2473553003/diff/20001/components/sync/model_impl/in_memory_metadata_change_list.h#newcode20 components/sync/model_impl/in_memory_metadata_change_list.h:20: // fields, with accessors for inspecting them. As ...
4 years, 1 month ago (2016-11-03 15:46:28 UTC) #8
maxbogue
https://codereview.chromium.org/2473553003/diff/20001/components/sync/model_impl/in_memory_metadata_change_list.h File components/sync/model_impl/in_memory_metadata_change_list.h (right): https://codereview.chromium.org/2473553003/diff/20001/components/sync/model_impl/in_memory_metadata_change_list.h#newcode20 components/sync/model_impl/in_memory_metadata_change_list.h:20: // fields, with accessors for inspecting them. On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 19:06:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473553003/40001
4 years, 1 month ago (2016-11-03 19:17:16 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/330385)
4 years, 1 month ago (2016-11-03 20:07:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473553003/40001
4 years, 1 month ago (2016-11-03 20:10:22 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/255872)
4 years, 1 month ago (2016-11-03 22:47:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473553003/40001
4 years, 1 month ago (2016-11-03 22:49:13 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-04 01:08:35 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 01:10:34 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/73b065e269ab993b5ffcb2d88344b8754894b05c
Cr-Commit-Position: refs/heads/master@{#429749}

Powered by Google App Engine
This is Rietveld 408576698