Index: content/browser/loader/upload_data_stream_builder.cc |
diff --git a/content/browser/loader/upload_data_stream_builder.cc b/content/browser/loader/upload_data_stream_builder.cc |
index c497c16c0a769ea50c20469ba1fc44e47708dc31..a117075b8ca552433aa5c9c5a5a29cfc653d4308 100644 |
--- a/content/browser/loader/upload_data_stream_builder.cc |
+++ b/content/browser/loader/upload_data_stream_builder.cc |
@@ -133,8 +133,9 @@ scoped_ptr<net::UploadDataStream> UploadDataStreamBuilder::Build( |
case ResourceRequestBody::Element::TYPE_BLOB: |
// Blob elements should be resolved beforehand. |
// TODO(dmurph): Create blob reader and store the snapshot in there. |
- NOTREACHED(); |
- break; |
+ case ResourceRequestBody::Element::TYPE_DISK_CACHE_ENTRY: |
+ // Disk cache entries should not be uploaded, instead only requested |
michaeln
2015/06/12 22:35:09
Once something in blink has a Blob backed by a dis
gavinp
2015/06/15 14:01:19
Unless I'm missing something, there's no code path
gavinp
2015/06/15 14:25:55
jkarlin and I just talked this over. It's true tha
michaeln
2015/06/15 22:17:23
The browser process is a Blob server of sorts and
michaeln
2015/06/15 22:18:59
errr, i meant to say "passed by reference in many
|
+ // from blink. |
case ResourceRequestBody::Element::TYPE_UNKNOWN: |
NOTREACHED(); |
break; |