Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
| 6 // inside a macro to generate enum. | 6 // inside a macro to generate enum. |
| 7 | 7 |
| 8 // This file contains the list of network errors. | 8 // This file contains the list of network errors. |
| 9 | 9 |
| 10 // | 10 // |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 240 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141) | 240 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141) |
| 241 | 241 |
| 242 // The message was too large for the transport. (for example a UDP message | 242 // The message was too large for the transport. (for example a UDP message |
| 243 // which exceeds size threshold). | 243 // which exceeds size threshold). |
| 244 NET_ERROR(MSG_TOO_BIG, -142) | 244 NET_ERROR(MSG_TOO_BIG, -142) |
| 245 | 245 |
| 246 // A SPDY session already exists, and should be used instead of this connection. | 246 // A SPDY session already exists, and should be used instead of this connection. |
| 247 NET_ERROR(SPDY_SESSION_ALREADY_EXISTS, -143) | 247 NET_ERROR(SPDY_SESSION_ALREADY_EXISTS, -143) |
| 248 | 248 |
| 249 // Violation of limits (e.g. imposed to prevent DoS). | 249 // Violation of limits (e.g. imposed to prevent DoS). |
| 250 NET_ERROR(LIMIT_VIOLATION, -144) | 250 NET_ERROR(LIMIT_VIOLATION, -144) |
|
mmenke
2012/08/29 15:22:59
You can also remove this - it's only used by web_s
Yuta Kitamura
2012/08/31 04:05:07
Thanks for pointing this out. Removed.
| |
| 251 | 251 |
| 252 // WebSocket protocol error occurred. | 252 // Error -145 was removed (WS_PROTOCOL_ERROR). |
| 253 NET_ERROR(WS_PROTOCOL_ERROR, -145) | |
| 254 | 253 |
| 255 // Connection was aborted for switching to another ptotocol. | 254 // Connection was aborted for switching to another ptotocol. |
| 256 // WebSocket abort SocketStream connection when alternate protocol is found. | 255 // WebSocket abort SocketStream connection when alternate protocol is found. |
| 257 NET_ERROR(PROTOCOL_SWITCHED, -146) | 256 NET_ERROR(PROTOCOL_SWITCHED, -146) |
| 258 | 257 |
| 259 // Returned when attempting to bind an address that is already in use. | 258 // Returned when attempting to bind an address that is already in use. |
| 260 NET_ERROR(ADDRESS_IN_USE, -147) | 259 NET_ERROR(ADDRESS_IN_USE, -147) |
| 261 | 260 |
| 262 // An operation failed because the SSL handshake has not completed. | 261 // An operation failed because the SSL handshake has not completed. |
| 263 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) | 262 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 651 NET_ERROR(DNS_TIMED_OUT, -803) | 650 NET_ERROR(DNS_TIMED_OUT, -803) |
| 652 | 651 |
| 653 // The entry was not found in cache, for cache-only lookups. | 652 // The entry was not found in cache, for cache-only lookups. |
| 654 NET_ERROR(DNS_CACHE_MISS, -804) | 653 NET_ERROR(DNS_CACHE_MISS, -804) |
| 655 | 654 |
| 656 // Suffix search list rules prevent resolution of the given host name. | 655 // Suffix search list rules prevent resolution of the given host name. |
| 657 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 656 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 658 | 657 |
| 659 // Failed to sort addresses according to RFC3484. | 658 // Failed to sort addresses according to RFC3484. |
| 660 NET_ERROR(DNS_SORT_ERROR, -806) | 659 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |