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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161) | 325 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161) |
326 | 326 |
327 // Failed to set the socket's receive buffer size as requested, despite success | 327 // Failed to set the socket's receive buffer size as requested, despite success |
328 // return code from setsockopt. | 328 // return code from setsockopt. |
329 NET_ERROR(SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE, -162) | 329 NET_ERROR(SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE, -162) |
330 | 330 |
331 // Failed to set the socket's send buffer size as requested, despite success | 331 // Failed to set the socket's send buffer size as requested, despite success |
332 // return code from setsockopt. | 332 // return code from setsockopt. |
333 NET_ERROR(SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE, -163) | 333 NET_ERROR(SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE, -163) |
334 | 334 |
| 335 // Failed to import a client certificate from the platform store into the SSL |
| 336 // library. |
| 337 NET_ERROR(SSL_CLIENT_AUTH_CERT_BAD_FORMAT, -164) |
| 338 |
335 // Certificate error codes | 339 // Certificate error codes |
336 // | 340 // |
337 // The values of certificate error codes must be consecutive. | 341 // The values of certificate error codes must be consecutive. |
338 | 342 |
339 // The server responded with a certificate whose common name did not match | 343 // The server responded with a certificate whose common name did not match |
340 // the host name. This could mean: | 344 // the host name. This could mean: |
341 // | 345 // |
342 // 1. An attacker has redirected our traffic to his server and is | 346 // 1. An attacker has redirected our traffic to his server and is |
343 // presenting a certificate for which he knows the private key. | 347 // presenting a certificate for which he knows the private key. |
344 // | 348 // |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 NET_ERROR(DNS_TIMED_OUT, -803) | 765 NET_ERROR(DNS_TIMED_OUT, -803) |
762 | 766 |
763 // The entry was not found in cache, for cache-only lookups. | 767 // The entry was not found in cache, for cache-only lookups. |
764 NET_ERROR(DNS_CACHE_MISS, -804) | 768 NET_ERROR(DNS_CACHE_MISS, -804) |
765 | 769 |
766 // Suffix search list rules prevent resolution of the given host name. | 770 // Suffix search list rules prevent resolution of the given host name. |
767 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 771 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
768 | 772 |
769 // Failed to sort addresses according to RFC3484. | 773 // Failed to sort addresses according to RFC3484. |
770 NET_ERROR(DNS_SORT_ERROR, -806) | 774 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |