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

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

Issue 16776005: net: use IsSecureScheme rather than matching "https". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ERR_HEADERS_TRUNCATED => ERR_RESPONSE_HEADERS_TRUNCATED Created 7 years, 6 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
« no previous file with comments | « no previous file | net/http/http_proxy_client_socket_pool_spdy2_unittest.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. 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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354) 530 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354)
531 531
532 // The HTTP response body is transferred with Chunked-Encoding, but the 532 // The HTTP response body is transferred with Chunked-Encoding, but the
533 // terminating zero-length chunk was never sent when the connection is closed. 533 // terminating zero-length chunk was never sent when the connection is closed.
534 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355) 534 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355)
535 535
536 // There is a QUIC protocol error. 536 // There is a QUIC protocol error.
537 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) 537 NET_ERROR(QUIC_PROTOCOL_ERROR, -356)
538 538
539 // The HTTP headers were truncated by an EOF. 539 // The HTTP headers were truncated by an EOF.
540 NET_ERROR(HEADERS_TRUNCATED, -357) 540 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357)
541 541
542 // The cache does not have the requested entry. 542 // The cache does not have the requested entry.
543 NET_ERROR(CACHE_MISS, -400) 543 NET_ERROR(CACHE_MISS, -400)
544 544
545 // Unable to read from the disk cache. 545 // Unable to read from the disk cache.
546 NET_ERROR(CACHE_READ_FAILURE, -401) 546 NET_ERROR(CACHE_READ_FAILURE, -401)
547 547
548 // Unable to write to the disk cache. 548 // Unable to write to the disk cache.
549 NET_ERROR(CACHE_WRITE_FAILURE, -402) 549 NET_ERROR(CACHE_WRITE_FAILURE, -402)
550 550
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 NET_ERROR(DNS_TIMED_OUT, -803) 678 NET_ERROR(DNS_TIMED_OUT, -803)
679 679
680 // The entry was not found in cache, for cache-only lookups. 680 // The entry was not found in cache, for cache-only lookups.
681 NET_ERROR(DNS_CACHE_MISS, -804) 681 NET_ERROR(DNS_CACHE_MISS, -804)
682 682
683 // Suffix search list rules prevent resolution of the given host name. 683 // Suffix search list rules prevent resolution of the given host name.
684 NET_ERROR(DNS_SEARCH_EMPTY, -805) 684 NET_ERROR(DNS_SEARCH_EMPTY, -805)
685 685
686 // Failed to sort addresses according to RFC3484. 686 // Failed to sort addresses according to RFC3484.
687 NET_ERROR(DNS_SORT_ERROR, -806) 687 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/http/http_proxy_client_socket_pool_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698