Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: sync/tools/sync_listen_notifications.cc

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/notifier/p2p_invalidator_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_listen_notifications.cc
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index ce901a449f3a5bddc46ad0ae3829ae5676f0d3e1..9e958cad5054ab79381838d4e079442e17299b1b 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -59,15 +59,13 @@ class NotificationPrinter : public InvalidationHandler {
}
virtual void OnIncomingInvalidation(
- const ObjectIdInvalidationMap& invalidation_map,
- IncomingInvalidationSource source) OVERRIDE {
+ const ObjectIdInvalidationMap& invalidation_map) OVERRIDE {
const ModelTypeInvalidationMap& type_invalidation_map =
ObjectIdInvalidationMapToModelTypeInvalidationMap(invalidation_map);
for (ModelTypeInvalidationMap::const_iterator it =
type_invalidation_map.begin(); it != type_invalidation_map.end();
++it) {
- LOG(INFO) << (source == REMOTE_INVALIDATION ? "Remote" : "Local")
- << " Invalidation: type = "
+ LOG(INFO) << "Remote invalidation: type = "
<< ModelTypeToString(it->first)
<< ", payload = " << it->second.payload;
}
« no previous file with comments | « sync/notifier/p2p_invalidator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698