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..2f63c231600e871f1e78b5522bfb5ac51f56aaf5 100644 |
--- a/content/browser/loader/upload_data_stream_builder.cc |
+++ b/content/browser/loader/upload_data_stream_builder.cc |
@@ -135,6 +135,11 @@ scoped_ptr<net::UploadDataStream> UploadDataStreamBuilder::Build( |
// 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 |
+ // from blink. |
mmenke
2015/06/12 18:52:42
Are you sure this comment about them being request
michaeln
2015/06/12 23:43:06
Once something in blink has a Blob backed by a dis
gavinp
2015/06/15 14:01:19
Ahhh, OK. So right now I think this is safe, becau
gavinp
2015/06/15 14:01:19
Blobs are a mess as well; in particular, blobs hav
|
+ NOTREACHED(); |
+ break; |
case ResourceRequestBody::Element::TYPE_UNKNOWN: |
NOTREACHED(); |
break; |