Index: chrome/browser/sync/notifier/chrome_invalidation_client.cc |
=================================================================== |
--- chrome/browser/sync/notifier/chrome_invalidation_client.cc (revision 72686) |
+++ chrome/browser/sync/notifier/chrome_invalidation_client.cc (working copy) |
@@ -126,18 +126,13 @@ |
VLOG(1) << "Invalidate: " << InvalidationToString(invalidation); |
syncable::ModelType model_type; |
if (ObjectIdToRealModelType(invalidation.object_id(), &model_type)) { |
- std::string payload; |
- // payload() CHECK()'s has_payload(), so we must check it ourselves first. |
- if (invalidation.has_payload()) |
- payload = invalidation.payload(); |
- |
// TODO(akalin): This is a hack to make new sync data types work |
// with server-issued notifications. Remove this when it's not |
// needed anymore. |
if (model_type == syncable::UNSPECIFIED) { |
listener_->OnInvalidateAll(); |
} else { |
- listener_->OnInvalidate(model_type, payload); |
+ listener_->OnInvalidate(model_type); |
} |
} else { |
LOG(WARNING) << "Could not get invalidation model type; " |
Property changes on: chrome/browser/sync/notifier/chrome_invalidation_client.cc |
___________________________________________________________________ |
Deleted: svn:eol-style |
- LF |