diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:24:47 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:24:47 +0000 |
commit | 0d0b59d9367b35ff7d6649c8dd1b5deaadf80bf4 (patch) | |
tree | d8d0587b03f8377c4f8ba110f5fffb1f6363db5a /sync/notifier/p2p_invalidator.h | |
parent | 64273a51beb774e449b1286fd4a69dddc35828a8 (diff) | |
download | chromium_src-0d0b59d9367b35ff7d6649c8dd1b5deaadf80bf4.zip chromium_src-0d0b59d9367b35ff7d6649c8dd1b5deaadf80bf4.tar.gz chromium_src-0d0b59d9367b35ff7d6649c8dd1b5deaadf80bf4.tar.bz2 |
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
Diffstat (limited to 'sync/notifier/p2p_invalidator.h')
-rw-r--r-- | sync/notifier/p2p_invalidator.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 |