Chromium Code Reviews| Index: net/base/net_error_list.h |
| diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h |
| index ae2ff1356d1d53d0fc0f3b538a479b2272eb08d2..89fbfff08c1cc302367f84a938bf0c2685718c8e 100644 |
| --- a/net/base/net_error_list.h |
| +++ b/net/base/net_error_list.h |
| @@ -99,6 +99,10 @@ NET_ERROR(SOCKET_IS_CONNECTED, -23) |
| // The error can be emitted by code in chrome/browser/policy/policy_helpers.cc. |
| NET_ERROR(BLOCKED_ENROLLMENT_CHECK_PENDING, -24) |
| +// The upload failed because the upload stream needed to be re-read, due to a |
| +// retry or a redirect, but the upload stream doesn't support that operation. |
| +NET_ERROR(UPLOAD_STREAM_REWIND_NOT_SUPPORTED, -25) |
|
xunjieli
2014/10/17 20:56:45
Is it possible to test that we get this error code
mmenke
2014/10/17 21:27:15
I don't believe we expose it with the current API
|
| + |
| // A connection was closed (corresponding to a TCP FIN). |
| NET_ERROR(CONNECTION_CLOSED, -100) |