|
sync: Remove ModelTypeInvalidationMap
Removes the definition and all uses of ModelTypeInvalidationMap.
The ModelTypeInvalidationMap was useful only for sync-related
invalidations. Its existence made sense when sync was the only client
for invalidations. Now that we have many invalidations clients, it
makes sense to replace it with the more generic ObjectIdInvalidationMap.
The reason for doing this now is that the ObjectIdInvalidationMap will
soon be modified to be incompatible with the current definition of
ModelTypeInvalidationMap. In order to support trickles it will be
modified to allow it to contain several invalidations per ObjectId.
Although it would have been possible to maintain compatibility by making
a corresponding modification to ModelTypeInvalidationMap, there's really
no point in having two invalidation map types. In the long run, it
makes more sense to deprecate ModelTypeInvalidationMap.
BUG= 233437
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221025
Total comments: 20
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+159 lines, -565 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/session_change_processor.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_android.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/download.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/download_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_unittest.cc
|
View
|
|
3 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.cc
|
View
|
1
2
3
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/public/base/model_type_invalidation_map.h
|
View
|
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/public/base/model_type_invalidation_map.cc
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/public/base/model_type_invalidation_map_test_util.h
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/public/base/model_type_invalidation_map_test_util.cc
|
View
|
|
1 chunk |
+0 lines, -114 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/public/base/model_type_invalidation_map_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base/model_type_test_util.h
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base/model_type_test_util.cc
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/engine/model_safe_worker.h
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/engine/model_safe_worker.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/engine/model_safe_worker_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
|
3 chunks |
+27 lines, -17 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/notifier/object_id_invalidation_map.h
|
View
|
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/object_id_invalidation_map.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/object_id_invalidation_map_test_util.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/p2p_invalidator_unittest.cc
|
View
|
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.cc
|
View
|
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker_unittest.cc
|
View
|
|
9 chunks |
+17 lines, -26 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
sync/sync.gyp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/sync_internal_api.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/sync_tests.gypi
|
View
|
|
5 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/tools/sync_listen_notifications.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|