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; |
} |