|
|
[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}
Total comments: 2
|
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
|
Total messages: 27 (17 generated)
|