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

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

Issue 1405293009: Certificate Transparency: Fetching consistency proofs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing review comments. Created 5 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
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // Certificate Transparency: Received a signed tree head whose JSON parsing was 356 // Certificate Transparency: Received a signed tree head whose JSON parsing was
357 // OK but was missing some of the fields. 357 // OK but was missing some of the fields.
358 NET_ERROR(CT_STH_INCOMPLETE, -169) 358 NET_ERROR(CT_STH_INCOMPLETE, -169)
359 359
360 // The attempt to reuse a connection to send proxy auth credentials failed 360 // The attempt to reuse a connection to send proxy auth credentials failed
361 // before the AuthController was used to generate credentials. The caller should 361 // before the AuthController was used to generate credentials. The caller should
362 // reuse the controller with a new connection. This error is only used 362 // reuse the controller with a new connection. This error is only used
363 // internally by the network stack. 363 // internally by the network stack.
364 NET_ERROR(UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH, -170) 364 NET_ERROR(UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH, -170)
365 365
366 // Certificate Transparency: Received a consistency proof that failed to parse
svaldez 2015/11/16 17:33:08 nit: failed to parse.
Eran Messeri 2015/11/17 10:47:31 Done.
367 NET_ERROR(CT_CONSISTENCY_PROOF_PARSING_FAILED, -171)
368
366 // Certificate error codes 369 // Certificate error codes
367 // 370 //
368 // The values of certificate error codes must be consecutive. 371 // The values of certificate error codes must be consecutive.
369 372
370 // The server responded with a certificate whose common name did not match 373 // The server responded with a certificate whose common name did not match
371 // the host name. This could mean: 374 // the host name. This could mean:
372 // 375 //
373 // 1. An attacker has redirected our traffic to their server and is 376 // 1. An attacker has redirected our traffic to their server and is
374 // presenting a certificate for which they know the private key. 377 // presenting a certificate for which they know the private key.
375 // 378 //
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 NET_ERROR(DNS_TIMED_OUT, -803) 820 NET_ERROR(DNS_TIMED_OUT, -803)
818 821
819 // The entry was not found in cache, for cache-only lookups. 822 // The entry was not found in cache, for cache-only lookups.
820 NET_ERROR(DNS_CACHE_MISS, -804) 823 NET_ERROR(DNS_CACHE_MISS, -804)
821 824
822 // Suffix search list rules prevent resolution of the given host name. 825 // Suffix search list rules prevent resolution of the given host name.
823 NET_ERROR(DNS_SEARCH_EMPTY, -805) 826 NET_ERROR(DNS_SEARCH_EMPTY, -805)
824 827
825 // Failed to sort addresses according to RFC3484. 828 // Failed to sort addresses according to RFC3484.
826 NET_ERROR(DNS_SORT_ERROR, -806) 829 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698