Index: chrome/browser/sync/notifier/server_notifier_thread.cc |
diff --git a/chrome/browser/sync/notifier/server_notifier_thread.cc b/chrome/browser/sync/notifier/server_notifier_thread.cc |
index f16587ff97a3863ee0c85de4794d41a156fb9718..80ebbfed13034417cb0a1fda57fa5c7be21a2eeb 100644 |
--- a/chrome/browser/sync/notifier/server_notifier_thread.cc |
+++ b/chrome/browser/sync/notifier/server_notifier_thread.cc |
@@ -66,11 +66,8 @@ void ServerNotifierThread::SendNotification( |
void ServerNotifierThread::OnInvalidate(syncable::ModelType model_type) { |
DCHECK_EQ(MessageLoop::current(), worker_message_loop()); |
- // 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. |
- VLOG(1) << "OnInvalidate: " << ((model_type == syncable::UNSPECIFIED) ? |
- "UNKNOWN" : syncable::ModelTypeToString(model_type)); |
+ DCHECK_NE(model_type, syncable::UNSPECIFIED); |
tim (not reviewing)
2011/01/14 22:02:35
I think DCHECK_NE TOP_LEVEL_FOLDER as well wouldn'
|
+ VLOG(1) << "OnInvalidate: " << syncable::ModelTypeToString(model_type); |
syncable::ModelTypeBitSet model_types; |
model_types[model_type] = true; |