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

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

Issue 76443006: Certificate Transparency: Threading the CT verifier into the SSL client socket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving logs creation out of io_thread Created 7 years 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 | « chrome/common/chrome_switches.cc ('k') | net/cert/cert_status_flags.h » ('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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 NET_ERROR(CERT_WEAK_KEY, -211) 401 NET_ERROR(CERT_WEAK_KEY, -211)
402 402
403 // Add new certificate error codes here. 403 // Add new certificate error codes here.
404 // 404 //
405 // Update the value of CERT_END whenever you add a new certificate error 405 // Update the value of CERT_END whenever you add a new certificate error
406 // code. 406 // code.
407 407
408 // The value immediately past the last certificate error code. 408 // The value immediately past the last certificate error code.
409 NET_ERROR(CERT_END, -212) 409 NET_ERROR(CERT_END, -212)
410 410
411 // Certificate Transparency-related errors. Logically these are certificate
412 // errors but, for now, are not included in the certificate errors range
413 // so IsCertificateError will not be affected by CT-related errors.
414
415 // Serialization of the Precertificate LogEntry or X.509 LogEntry failed
416 // That means that there were no embedded SCTs *and* the DER encoding of the
417 // certificate could not be created, which is surprising - as CT checks are
418 // only performed after SCTs have been validated.
419 NET_ERROR(CT_LOG_ENTRY_CREATION_FAILED, -298)
420
421 // SCT(s) were present but failed to verify - this could indicate an attack
422 // or corrupted SCTs.
423 NET_ERROR(NO_SCTS_VERIFIED_OK, -299)
wtc 2013/11/27 16:45:57 If we add these two CT errors as certificate error
Eran M. (Google) 2013/11/27 19:05:48 As we discussed offline, completely reverting thes
424
411 // The URL is invalid. 425 // The URL is invalid.
412 NET_ERROR(INVALID_URL, -300) 426 NET_ERROR(INVALID_URL, -300)
413 427
414 // The scheme of the URL is disallowed. 428 // The scheme of the URL is disallowed.
415 NET_ERROR(DISALLOWED_URL_SCHEME, -301) 429 NET_ERROR(DISALLOWED_URL_SCHEME, -301)
416 430
417 // The scheme of the URL is unknown. 431 // The scheme of the URL is unknown.
418 NET_ERROR(UNKNOWN_URL_SCHEME, -302) 432 NET_ERROR(UNKNOWN_URL_SCHEME, -302)
419 433
420 // Attempting to load an URL resulted in too many redirects. 434 // Attempting to load an URL resulted in too many redirects.
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 NET_ERROR(DNS_TIMED_OUT, -803) 718 NET_ERROR(DNS_TIMED_OUT, -803)
705 719
706 // The entry was not found in cache, for cache-only lookups. 720 // The entry was not found in cache, for cache-only lookups.
707 NET_ERROR(DNS_CACHE_MISS, -804) 721 NET_ERROR(DNS_CACHE_MISS, -804)
708 722
709 // Suffix search list rules prevent resolution of the given host name. 723 // Suffix search list rules prevent resolution of the given host name.
710 NET_ERROR(DNS_SEARCH_EMPTY, -805) 724 NET_ERROR(DNS_SEARCH_EMPTY, -805)
711 725
712 // Failed to sort addresses according to RFC3484. 726 // Failed to sort addresses according to RFC3484.
713 NET_ERROR(DNS_SORT_ERROR, -806) 727 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/cert/cert_status_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698