From 0d0b59d9367b35ff7d6649c8dd1b5deaadf80bf4 Mon Sep 17 00:00:00 2001 From: "rlarocque@chromium.org" Date: Sat, 2 Feb 2013 00:24:47 +0000 Subject: Remove syncer::IncomingInvalidationSource Since we separated local and remote invalidations in r179546, we no longer need to differentiate between the two sources with an enum. The IncomingInvalidationSource is always REMOTE_INVALIDATION. This commit removes the IncomingInvalidationSource enum and the 'source' parameter that was part of the invalidator callback API. The callees can now safely assume that all invalidations have a 'remote' source. BUG=124143 Review URL: https://chromiumcodereview.appspot.com/12114012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180213 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/notifier/p2p_invalidator.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sync/notifier/p2p_invalidator.h') diff --git a/sync/notifier/p2p_invalidator.h b/sync/notifier/p2p_invalidator.h index d3faa66..cfb9644 100644 --- a/sync/notifier/p2p_invalidator.h +++ b/sync/notifier/p2p_invalidator.h @@ -57,8 +57,7 @@ class SYNC_EXPORT_PRIVATE P2PNotificationData { P2PNotificationData(); P2PNotificationData(const std::string& sender_id, P2PNotificationTarget target, - const ObjectIdInvalidationMap& invalidation_map, - IncomingInvalidationSource source); + const ObjectIdInvalidationMap& invalidation_map); ~P2PNotificationData(); @@ -67,8 +66,6 @@ class SYNC_EXPORT_PRIVATE P2PNotificationData { const ObjectIdInvalidationMap& GetIdInvalidationMap() const; - IncomingInvalidationSource GetSource() const; - bool Equals(const P2PNotificationData& other) const; std::string ToString() const; @@ -84,8 +81,6 @@ class SYNC_EXPORT_PRIVATE P2PNotificationData { P2PNotificationTarget target_; // The invalidation map for the notification. ObjectIdInvalidationMap invalidation_map_; - // The source of the invalidation. - IncomingInvalidationSource source_; }; class SYNC_EXPORT_PRIVATE P2PInvalidator -- cgit v1.1