Chromium Code Reviews| Index: content/public/browser/download_interrupt_reason_values.h |
| diff --git a/content/public/browser/download_interrupt_reason_values.h b/content/public/browser/download_interrupt_reason_values.h |
| index 92687b636f04ea831fbc8a1db4cebefdbc8477d9..f9036eb598171b9f0ae29d7bb7f0d30640e40c07 100644 |
| --- a/content/public/browser/download_interrupt_reason_values.h |
| +++ b/content/public/browser/download_interrupt_reason_values.h |
| @@ -86,9 +86,11 @@ INTERRUPT_REASON(SERVER_FAILED, 30) |
| // Internal use only: must restart from the beginning. |
| INTERRUPT_REASON(SERVER_NO_RANGE, 31) |
| -// The download request does not meet the specified precondition. |
| -// Internal use only: the file has changed on the server. |
| -INTERRUPT_REASON(SERVER_PRECONDITION, 32) |
| +// Precondition failed. This type of interruption could legitimately occur if a |
| +// partial download resumption was attempted using a If-Match header. However, |
| +// the downloads logic no longer uses If-Match headers and instead uses If-Range |
| +// headers where a precondition failure is not expected. |
| +// INTERRUPT_REASON(SERVER_PRECONDITION, 32) |
|
davidben
2015/11/23 17:35:37
Nit: Maybe do
// Obsolete: INTERRUPT_REASON(...)
asanka
2015/11/23 22:01:11
Done. Went with the former.
|
| // The server does not have the requested data. |
| // "Unable to get file". |