Index: content/common/resource_messages.cc |
diff --git a/content/common/resource_messages.cc b/content/common/resource_messages.cc |
index 6fcda2ab0218b085e1fb4944140fce76abe1ebc3..733162a2f3f5c47d0c4c00a2ae96d8837fd28ef5 100644 |
--- a/content/common/resource_messages.cc |
+++ b/content/common/resource_messages.cc |
@@ -54,13 +54,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; |
} |
} |