Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: net/base/net_error_list.h

Issue 7056050: Revert 87809 - Added DnsQuery class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/dnsrr_resolver.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // Possible causes for this include the user implicitly or explicitly 224 // Possible causes for this include the user implicitly or explicitly
225 // denying access to the private key, the private key may not be valid for 225 // denying access to the private key, the private key may not be valid for
226 // signing, the key may be relying on a cached handle which is no longer 226 // signing, the key may be relying on a cached handle which is no longer
227 // valid, or the CSP won't allow arbitrary data to be signed. 227 // valid, or the CSP won't allow arbitrary data to be signed.
228 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141) 228 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141)
229 229
230 // The message was too large for the transport. (for example a UDP message 230 // The message was too large for the transport. (for example a UDP message
231 // which exceeds size threshold). 231 // which exceeds size threshold).
232 NET_ERROR(MSG_TOO_BIG, -142) 232 NET_ERROR(MSG_TOO_BIG, -142)
233 233
234 // DNS resolver received a malformed response.
235 NET_ERROR(DNS_MALFORMED_RESPONSE, -143)
236
237 // DNS server requires TCP
238 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -144)
239
240 // DNS server failed. This error is returned for all of the following
241 // error conditions:
242 // 1 - Format error - The name server was unable to interpret the query.
243 // 2 - Server failure - The name server was unable to process this query
244 // due to a problem with the name server.
245 // 4 - Not Implemented - The name server does not support the requested
246 // kind of query.
247 // 5 - Refused - The name server refuses to perform the specified
248 // operation for policy reasons.
249 NET_ERROR(DNS_SERVER_FAILED, -145)
250
251 // Certificate error codes 234 // Certificate error codes
252 // 235 //
253 // The values of certificate error codes must be consecutive. 236 // The values of certificate error codes must be consecutive.
254 237
255 // The server responded with a certificate whose common name did not match 238 // The server responded with a certificate whose common name did not match
256 // the host name. This could mean: 239 // the host name. This could mean:
257 // 240 //
258 // 1. An attacker has redirected our traffic to his server and is 241 // 1. An attacker has redirected our traffic to his server and is
259 // presenting a certificate for which he knows the private key. 242 // presenting a certificate for which he knows the private key.
260 // 243 //
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 // Import failed - certificate already exists in database. 529 // Import failed - certificate already exists in database.
547 // Note it's a little weird this is an error but reimporting a PKCS12 is ok 530 // Note it's a little weird this is an error but reimporting a PKCS12 is ok
548 // (no-op). That's how Mozilla does it, though. 531 // (no-op). That's how Mozilla does it, though.
549 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) 532 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704)
550 533
551 // CA import failed due to some other error. 534 // CA import failed due to some other error.
552 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) 535 NET_ERROR(IMPORT_CA_CERT_FAILED, -705)
553 536
554 // Server certificate import failed due to some internal error. 537 // Server certificate import failed due to some internal error.
555 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) 538 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706)
OLDNEW
« no previous file with comments | « net/base/dnsrr_resolver.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698