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

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

Issue 716843002: Cherrypicking revert which caused a bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | net/cert/cert_status_flags.cc » ('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) 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // The host name specified in the certificate is not unique. 437 // The host name specified in the certificate is not unique.
438 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) 438 NET_ERROR(CERT_NON_UNIQUE_NAME, -210)
439 439
440 // The server responded with a certificate that contains a weak key (e.g. 440 // The server responded with a certificate that contains a weak key (e.g.
441 // a too-small RSA key). 441 // a too-small RSA key).
442 NET_ERROR(CERT_WEAK_KEY, -211) 442 NET_ERROR(CERT_WEAK_KEY, -211)
443 443
444 // The certificate claimed DNS names that are in violation of name constraints. 444 // The certificate claimed DNS names that are in violation of name constraints.
445 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212) 445 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212)
446 446
447 // The certificate's validity period is too long.
448 NET_ERROR(CERT_VALIDITY_TOO_LONG, -213)
449
450 // Add new certificate error codes here. 447 // Add new certificate error codes here.
451 // 448 //
452 // Update the value of CERT_END whenever you add a new certificate error 449 // Update the value of CERT_END whenever you add a new certificate error
453 // code. 450 // code.
454 451
455 // The value immediately past the last certificate error code. 452 // The value immediately past the last certificate error code.
456 NET_ERROR(CERT_END, -214) 453 NET_ERROR(CERT_END, -213)
457 454
458 // The URL is invalid. 455 // The URL is invalid.
459 NET_ERROR(INVALID_URL, -300) 456 NET_ERROR(INVALID_URL, -300)
460 457
461 // The scheme of the URL is disallowed. 458 // The scheme of the URL is disallowed.
462 NET_ERROR(DISALLOWED_URL_SCHEME, -301) 459 NET_ERROR(DISALLOWED_URL_SCHEME, -301)
463 460
464 // The scheme of the URL is unknown. 461 // The scheme of the URL is unknown.
465 NET_ERROR(UNKNOWN_URL_SCHEME, -302) 462 NET_ERROR(UNKNOWN_URL_SCHEME, -302)
466 463
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 NET_ERROR(DNS_TIMED_OUT, -803) 773 NET_ERROR(DNS_TIMED_OUT, -803)
777 774
778 // The entry was not found in cache, for cache-only lookups. 775 // The entry was not found in cache, for cache-only lookups.
779 NET_ERROR(DNS_CACHE_MISS, -804) 776 NET_ERROR(DNS_CACHE_MISS, -804)
780 777
781 // Suffix search list rules prevent resolution of the given host name. 778 // Suffix search list rules prevent resolution of the given host name.
782 NET_ERROR(DNS_SEARCH_EMPTY, -805) 779 NET_ERROR(DNS_SEARCH_EMPTY, -805)
783 780
784 // Failed to sort addresses according to RFC3484. 781 // Failed to sort addresses according to RFC3484.
785 NET_ERROR(DNS_SORT_ERROR, -806) 782 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | net/cert/cert_status_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698