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 2db302da5d80ab172c12b0e01437152676d47fc1..6d48bf45cc71628d06b9719c26371520dce1dceb 100644 |
| --- a/content/public/browser/download_interrupt_reason_values.h |
| +++ b/content/public/browser/download_interrupt_reason_values.h |
| @@ -116,6 +116,11 @@ INTERRUPT_REASON(SERVER_FORBIDDEN, 36) |
| // may not be the intended server. |
| INTERRUPT_REASON(SERVER_UNREACHABLE, 37) |
| +// The server sent fewer bytes then the content-length header. It may indicate |
| +// that the connection was closed prematurely, or it may indicate that the |
| +// server sent an invalid Content-Length header. |
| +INTERRUPT_REASON(SERVER_CONTENT_LENGTH_MISMATCH, 38) |
|
David Trainor- moved to gerrit
2017/04/25 03:50:41
Am I understanding that we only interrupt when we
qinmin
2017/04/25 19:27:47
Done.
xingliu
2017/04/25 19:32:05
FYI: We might need to change some other files, I r
qinmin
2017/04/25 20:52:12
Done. There is a chrome/common/extensions/api/down
|
| + |
| // User input. |
| // The user canceled the download. |