Chromium Code Reviews| Index: media/blink/resource_multibuffer_data_provider.cc |
| diff --git a/media/blink/resource_multibuffer_data_provider.cc b/media/blink/resource_multibuffer_data_provider.cc |
| index 9ef0684479330e51c6a5fcec9fda27f445c09604..c57402660df5ca72af9cf9c746fbcd072ed26632 100644 |
| --- a/media/blink/resource_multibuffer_data_provider.cc |
| +++ b/media/blink/resource_multibuffer_data_provider.cc |
| @@ -85,10 +85,15 @@ void ResourceMultiBufferDataProvider::Start() { |
| WebString::fromUTF8( |
| net::HttpByteRange::RightUnbounded(byte_pos()).GetHeaderValue())); |
| - if (!url_data_->etag().empty()) { |
| - request.setHTTPHeaderField(WebString::fromUTF8("If-Match"), |
| - WebString::fromUTF8(url_data_->etag())); |
| - } |
| + // We would like to send an if-match header with the request to |
| + // tell the remote server that we really can't handle files other |
| + // than the one we already started playing. Unfortunately, doing |
| + // so will disable the http cache, and possibly other proxies |
| + // along the way. See b/504194 and b/689989 for more information. |
|
Tom Bergan
2017/02/22 22:22:04
s/b/crbug/ ?
|
| + // if (!url_data_->etag().empty()) { |
| + // request.setHTTPHeaderField(WebString::fromUTF8("If-Match"), |
| + // WebString::fromUTF8(url_data_->etag())); |
| + // } |
| url_data_->frame()->setReferrerForRequest(request, blink::WebURL()); |