| Index: sync/tools/sync_listen_notifications.cc
|
| diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
|
| index b70ee6d57c5717eaad37070e4bb0e2c793256eff..f9d1989de8fed589e376349e2497b0f407fcc331 100644
|
| --- a/sync/tools/sync_listen_notifications.cc
|
| +++ b/sync/tools/sync_listen_notifications.cc
|
| @@ -59,12 +59,10 @@ class NotificationPrinter : public InvalidationHandler {
|
|
|
| virtual void OnIncomingInvalidation(
|
| const ObjectIdInvalidationMap& invalidation_map) OVERRIDE {
|
| - for (ObjectIdInvalidationMap::const_iterator it = invalidation_map.begin();
|
| - it != invalidation_map.end(); ++it) {
|
| - LOG(INFO) << "Remote invalidation: id = "
|
| - << ObjectIdToString(it->first)
|
| - << ", version = " << it->second.version
|
| - << ", payload = " << it->second.payload;
|
| + ObjectIdSet ids = invalidation_map.GetObjectIds();
|
| + for (ObjectIdSet::const_iterator it = ids.begin(); it != ids.end(); ++it) {
|
| + LOG(INFO) << "Remote invalidation: "
|
| + << invalidation_map.ToString();
|
| }
|
| }
|
|
|
|
|