summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_manager_impl.h
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 21:20:54 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 21:20:54 +0000
commitba85740ffef8b4622d7fc94c71672cc207b4365c (patch)
treedd7de7ac6903ec690e15dd9090bce3e01bf9f7c8 /sync/internal_api/sync_manager_impl.h
parentad554bcfe7ea960662f05fbd61c6aadcf71c04bf (diff)
downloadchromium_src-ba85740ffef8b4622d7fc94c71672cc207b4365c.zip
chromium_src-ba85740ffef8b4622d7fc94c71672cc207b4365c.tar.gz
chromium_src-ba85740ffef8b4622d7fc94c71672cc207b4365c.tar.bz2
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 Review URL: https://chromiumcodereview.appspot.com/23238005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl.h')
-rw-r--r--sync/internal_api/sync_manager_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h
index 712c268..03d6636 100644
--- a/sync/internal_api/sync_manager_impl.h
+++ b/sync/internal_api/sync_manager_impl.h
@@ -251,8 +251,7 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
// Called for every notification. This updates the notification statistics
// to be displayed in about:sync.
- void UpdateNotificationInfo(
- const ModelTypeInvalidationMap& invalidation_map);
+ void UpdateNotificationInfo(const ObjectIdInvalidationMap& invalidation_map);
// Checks for server reachabilty and requests a nudge.
void OnNetworkConnectivityChangedImpl();