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

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

Issue 6831025: Adds support for the DHCP portion of the WPAD (proxy auto-discovery) protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory leaks in unit test. Created 9 years, 7 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
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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // The HTTP response was too big to drain. 439 // The HTTP response was too big to drain.
440 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345) 440 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345)
441 441
442 // The HTTP response was too big to drain. 442 // The HTTP response was too big to drain.
443 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346) 443 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346)
444 444
445 // SPDY Headers have been received, but not all of them - status or version 445 // SPDY Headers have been received, but not all of them - status or version
446 // headers are missing, so we're expecting additional frames to complete them. 446 // headers are missing, so we're expecting additional frames to complete them.
447 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347) 447 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347)
448 448
449 // No PAC URL configuration could be retrieved from DHCP. This can indicate
450 // either a failure to retrieve the DHCP configuration, or that there was no
451 // PAC URL configured in DHCP.
452 NET_ERROR(PAC_NOT_IN_DHCP, -348)
453
449 // The cache does not have the requested entry. 454 // The cache does not have the requested entry.
450 NET_ERROR(CACHE_MISS, -400) 455 NET_ERROR(CACHE_MISS, -400)
451 456
452 // Unable to read from the disk cache. 457 // Unable to read from the disk cache.
453 NET_ERROR(CACHE_READ_FAILURE, -401) 458 NET_ERROR(CACHE_READ_FAILURE, -401)
454 459
455 // ****NOTE THAT code -402 is available**** 460 // ****NOTE THAT code -402 is available****
456 461
457 // The operation is not supported for this entry. 462 // The operation is not supported for this entry.
458 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) 463 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // Import failed - certificate already exists in database. 529 // Import failed - certificate already exists in database.
525 // 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
526 // (no-op). That's how Mozilla does it, though. 531 // (no-op). That's how Mozilla does it, though.
527 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) 532 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704)
528 533
529 // CA import failed due to some other error. 534 // CA import failed due to some other error.
530 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) 535 NET_ERROR(IMPORT_CA_CERT_FAILED, -705)
531 536
532 // Server certificate import failed due to some internal error. 537 // Server certificate import failed due to some internal error.
533 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) 538 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698