Index: content/common/resource_messages.cc |
diff --git a/content/common/resource_messages.cc b/content/common/resource_messages.cc |
index 2f86ae2ecd750dd7e144a5a9ebd8ed55e986c748..4868b5be80954dd27d19726ce6a3926d39636972 100644 |
--- a/content/common/resource_messages.cc |
+++ b/content/common/resource_messages.cc |
@@ -56,13 +56,18 @@ void ParamTraits<storage::DataElement>::Write(Message* m, const param_type& p) { |
WriteParam(m, p.expected_modification_time()); |
break; |
} |
- default: { |
- DCHECK(p.type() == storage::DataElement::TYPE_BLOB); |
+ case storage::DataElement::TYPE_BLOB: { |
WriteParam(m, p.blob_uuid()); |
WriteParam(m, p.offset()); |
WriteParam(m, p.length()); |
break; |
} |
+ case storage::DataElement::TYPE_DISK_CACHE_ENTRY: // Can't be sent via IPC. |
+ NOTREACHED(); |
+ break; |
+ case storage::DataElement::TYPE_UNKNOWN: |
+ NOTREACHED(); |
+ break; |
} |
} |