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

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

Issue 1222953002: Certificate Transparency: Add STH Fetching capability. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing explicit base dep Created 5 years, 3 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
« no previous file with comments | « components/components_tests.gyp ('k') | no next file » | 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // Resolving a hostname to an IP address list included the IPv4 address 344 // Resolving a hostname to an IP address list included the IPv4 address
345 // "127.0.53.53". This is a special IP address which ICANN has recommended to 345 // "127.0.53.53". This is a special IP address which ICANN has recommended to
346 // indicate there was a name collision, and alert admins to a potential 346 // indicate there was a name collision, and alert admins to a potential
347 // problem. 347 // problem.
348 NET_ERROR(ICANN_NAME_COLLISION, -166) 348 NET_ERROR(ICANN_NAME_COLLISION, -166)
349 349
350 // The SSL server presented a certificate which could not be decoded. This is 350 // The SSL server presented a certificate which could not be decoded. This is
351 // not a certificate error code as no X509Certificate object is available. This 351 // not a certificate error code as no X509Certificate object is available. This
352 // error is fatal. 352 // error is fatal.
353 NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167) 353 NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167)
354 // Certificate Transparency: Received a signed tree head that failed to parse.
355 NET_ERROR(CT_STH_PARSING_FAILED, -168)
356 // Certificate Transparency: Received a signed tree head whose JSON parsing was
357 // OK but was missing some of the fields.
358 NET_ERROR(CT_STH_INCOMPLETE, -169)
354 359
355 // Certificate error codes 360 // Certificate error codes
356 // 361 //
357 // The values of certificate error codes must be consecutive. 362 // The values of certificate error codes must be consecutive.
358 363
359 // The server responded with a certificate whose common name did not match 364 // The server responded with a certificate whose common name did not match
360 // the host name. This could mean: 365 // the host name. This could mean:
361 // 366 //
362 // 1. An attacker has redirected our traffic to their server and is 367 // 1. An attacker has redirected our traffic to their server and is
363 // presenting a certificate for which they know the private key. 368 // presenting a certificate for which they know the private key.
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 NET_ERROR(DNS_TIMED_OUT, -803) 810 NET_ERROR(DNS_TIMED_OUT, -803)
806 811
807 // The entry was not found in cache, for cache-only lookups. 812 // The entry was not found in cache, for cache-only lookups.
808 NET_ERROR(DNS_CACHE_MISS, -804) 813 NET_ERROR(DNS_CACHE_MISS, -804)
809 814
810 // Suffix search list rules prevent resolution of the given host name. 815 // Suffix search list rules prevent resolution of the given host name.
811 NET_ERROR(DNS_SEARCH_EMPTY, -805) 816 NET_ERROR(DNS_SEARCH_EMPTY, -805)
812 817
813 // Failed to sort addresses according to RFC3484. 818 // Failed to sort addresses according to RFC3484.
814 NET_ERROR(DNS_SORT_ERROR, -806) 819 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698