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

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

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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) 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. 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // Returned when attempting to bind an address that is already in use. 266 // Returned when attempting to bind an address that is already in use.
267 NET_ERROR(ADDRESS_IN_USE, -147) 267 NET_ERROR(ADDRESS_IN_USE, -147)
268 268
269 // An operation failed because the SSL handshake has not completed. 269 // An operation failed because the SSL handshake has not completed.
270 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) 270 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148)
271 271
272 // SSL peer's public key is invalid. 272 // SSL peer's public key is invalid.
273 NET_ERROR(SSL_BAD_PEER_PUBLIC_KEY, -149) 273 NET_ERROR(SSL_BAD_PEER_PUBLIC_KEY, -149)
274 274
275 // The certificate didn't match the built-in public key pins for the host name. 275 // The certificate didn't match the built-in public key pins for the host name.
276 // The pins are set in net/base/transport_security_state.cc and require that 276 // The pins are set in net/http/transport_security_state.cc and require that
277 // one of a set of public keys exist on the path from the leaf to the root. 277 // one of a set of public keys exist on the path from the leaf to the root.
278 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) 278 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150)
279 279
280 // Server request for client certificate did not contain any types we support. 280 // Server request for client certificate did not contain any types we support.
281 NET_ERROR(CLIENT_AUTH_CERT_TYPE_UNSUPPORTED, -151) 281 NET_ERROR(CLIENT_AUTH_CERT_TYPE_UNSUPPORTED, -151)
282 282
283 // Server requested one type of cert, then requested a different type while the 283 // Server requested one type of cert, then requested a different type while the
284 // first was still being generated. 284 // first was still being generated.
285 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH, -152) 285 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH, -152)
286 286
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 NET_ERROR(DNS_TIMED_OUT, -803) 661 NET_ERROR(DNS_TIMED_OUT, -803)
662 662
663 // The entry was not found in cache, for cache-only lookups. 663 // The entry was not found in cache, for cache-only lookups.
664 NET_ERROR(DNS_CACHE_MISS, -804) 664 NET_ERROR(DNS_CACHE_MISS, -804)
665 665
666 // Suffix search list rules prevent resolution of the given host name. 666 // Suffix search list rules prevent resolution of the given host name.
667 NET_ERROR(DNS_SEARCH_EMPTY, -805) 667 NET_ERROR(DNS_SEARCH_EMPTY, -805)
668 668
669 // Failed to sort addresses according to RFC3484. 669 // Failed to sort addresses according to RFC3484.
670 NET_ERROR(DNS_SORT_ERROR, -806) 670 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « net/base/default_server_bound_cert_store_unittest.cc ('k') | net/base/server_bound_cert_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698