| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 contains the list of network errors. | 5 // This file contains the list of network errors. |
| 6 | 6 |
| 7 // An asynchronous IO operation is not yet complete. This usually does not | 7 // An asynchronous IO operation is not yet complete. This usually does not |
| 8 // indicate a fatal error. Typically this error will be generated as a | 8 // indicate a fatal error. Typically this error will be generated as a |
| 9 // notification to wait for some external notification that the IO operation | 9 // notification to wait for some external notification that the IO operation |
| 10 // finally completed. | 10 // finally completed. |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 NET_ERROR(CERT_REVOKED, -206) | 187 NET_ERROR(CERT_REVOKED, -206) |
| 188 | 188 |
| 189 // The server responded with a certificate that is invalid. | 189 // The server responded with a certificate that is invalid. |
| 190 // This error is not recoverable. | 190 // This error is not recoverable. |
| 191 // | 191 // |
| 192 // MSDN describes this error as follows: | 192 // MSDN describes this error as follows: |
| 193 // "The SSL certificate is invalid." | 193 // "The SSL certificate is invalid." |
| 194 // | 194 // |
| 195 NET_ERROR(CERT_INVALID, -207) | 195 NET_ERROR(CERT_INVALID, -207) |
| 196 | 196 |
| 197 // The server responded with a certificate that is signed using a weak |
| 198 // signature algorithm. |
| 199 NET_ERROR(CERT_WEAK_SIGNATURE_ALGORITHM, -208) |
| 200 |
| 197 // Add new certificate error codes here. | 201 // Add new certificate error codes here. |
| 198 // | 202 // |
| 199 // Update the value of CERT_END whenever you add a new certificate error | 203 // Update the value of CERT_END whenever you add a new certificate error |
| 200 // code. | 204 // code. |
| 201 | 205 |
| 202 // The value immediately past the last certificate error code. | 206 // The value immediately past the last certificate error code. |
| 203 NET_ERROR(CERT_END, -208) | 207 NET_ERROR(CERT_END, -209) |
| 204 | 208 |
| 205 // The URL is invalid. | 209 // The URL is invalid. |
| 206 NET_ERROR(INVALID_URL, -300) | 210 NET_ERROR(INVALID_URL, -300) |
| 207 | 211 |
| 208 // The scheme of the URL is disallowed. | 212 // The scheme of the URL is disallowed. |
| 209 NET_ERROR(DISALLOWED_URL_SCHEME, -301) | 213 NET_ERROR(DISALLOWED_URL_SCHEME, -301) |
| 210 | 214 |
| 211 // The scheme of the URL is unknown. | 215 // The scheme of the URL is unknown. |
| 212 NET_ERROR(UNKNOWN_URL_SCHEME, -302) | 216 NET_ERROR(UNKNOWN_URL_SCHEME, -302) |
| 213 | 217 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 265 |
| 262 // The network transaction factory of the cache was not able to create a new | 266 // The network transaction factory of the cache was not able to create a new |
| 263 // transaction. | 267 // transaction. |
| 264 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) | 268 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) |
| 265 | 269 |
| 266 // The operation is not supported for this entry. | 270 // The operation is not supported for this entry. |
| 267 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 271 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
| 268 | 272 |
| 269 // The server's response was insecure (e.g. there was a cert error). | 273 // The server's response was insecure (e.g. there was a cert error). |
| 270 NET_ERROR(INSECURE_RESPONSE, -501) | 274 NET_ERROR(INSECURE_RESPONSE, -501) |
| OLD | NEW |