| 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 values. | 6 // inside a macro to generate enum values. |
| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 NET_ERROR(SSL_DECRYPT_ERROR_ALERT, -153) | 293 NET_ERROR(SSL_DECRYPT_ERROR_ALERT, -153) |
| 294 | 294 |
| 295 // There are too many pending WebSocketJob instances, so the new job was not | 295 // There are too many pending WebSocketJob instances, so the new job was not |
| 296 // pushed to the queue. | 296 // pushed to the queue. |
| 297 NET_ERROR(WS_THROTTLE_QUEUE_TOO_LARGE, -154) | 297 NET_ERROR(WS_THROTTLE_QUEUE_TOO_LARGE, -154) |
| 298 | 298 |
| 299 // There are too many active SocketStream instances, so the new connect request | 299 // There are too many active SocketStream instances, so the new connect request |
| 300 // was rejected. | 300 // was rejected. |
| 301 NET_ERROR(TOO_MANY_SOCKET_STREAMS, -155) | 301 NET_ERROR(TOO_MANY_SOCKET_STREAMS, -155) |
| 302 | 302 |
| 303 // The SSL server certificate changed in a renegotiation. |
| 304 NET_ERROR(SSL_SERVER_CERT_CHANGED, -156) |
| 305 |
| 303 // Certificate error codes | 306 // Certificate error codes |
| 304 // | 307 // |
| 305 // The values of certificate error codes must be consecutive. | 308 // The values of certificate error codes must be consecutive. |
| 306 | 309 |
| 307 // The server responded with a certificate whose common name did not match | 310 // The server responded with a certificate whose common name did not match |
| 308 // the host name. This could mean: | 311 // the host name. This could mean: |
| 309 // | 312 // |
| 310 // 1. An attacker has redirected our traffic to his server and is | 313 // 1. An attacker has redirected our traffic to his server and is |
| 311 // presenting a certificate for which he knows the private key. | 314 // presenting a certificate for which he knows the private key. |
| 312 // | 315 // |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 NET_ERROR(DNS_TIMED_OUT, -803) | 697 NET_ERROR(DNS_TIMED_OUT, -803) |
| 695 | 698 |
| 696 // The entry was not found in cache, for cache-only lookups. | 699 // The entry was not found in cache, for cache-only lookups. |
| 697 NET_ERROR(DNS_CACHE_MISS, -804) | 700 NET_ERROR(DNS_CACHE_MISS, -804) |
| 698 | 701 |
| 699 // Suffix search list rules prevent resolution of the given host name. | 702 // Suffix search list rules prevent resolution of the given host name. |
| 700 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 703 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 701 | 704 |
| 702 // Failed to sort addresses according to RFC3484. | 705 // Failed to sort addresses according to RFC3484. |
| 703 NET_ERROR(DNS_SORT_ERROR, -806) | 706 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |