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

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

Issue 2445113002: Add HTTP/2 error code NO_ERROR. (Closed)
Patch Set: Rebase. Created 4 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
« no previous file with comments | « no previous file | net/spdy/spdy_framer.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 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 // See: crbug.com/486891. 675 // See: crbug.com/486891.
676 // NET_ERROR(TEMPORARY_BACKOFF, -369) 676 // NET_ERROR(TEMPORARY_BACKOFF, -369)
677 677
678 // The server was expected to return an HTTP/1.x response, but did not. Rather 678 // The server was expected to return an HTTP/1.x response, but did not. Rather
679 // than treat it as HTTP/0.9, this error is returned. 679 // than treat it as HTTP/0.9, this error is returned.
680 NET_ERROR(INVALID_HTTP_RESPONSE, -370) 680 NET_ERROR(INVALID_HTTP_RESPONSE, -370)
681 681
682 // Initializing content decoding failed. 682 // Initializing content decoding failed.
683 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371) 683 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371)
684 684
685 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should
686 // be handled internally by HTTP/2 code, and should not make it above the
687 // SpdyStream layer.
688 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372)
689
685 // The cache does not have the requested entry. 690 // The cache does not have the requested entry.
686 NET_ERROR(CACHE_MISS, -400) 691 NET_ERROR(CACHE_MISS, -400)
687 692
688 // Unable to read from the disk cache. 693 // Unable to read from the disk cache.
689 NET_ERROR(CACHE_READ_FAILURE, -401) 694 NET_ERROR(CACHE_READ_FAILURE, -401)
690 695
691 // Unable to write to the disk cache. 696 // Unable to write to the disk cache.
692 NET_ERROR(CACHE_WRITE_FAILURE, -402) 697 NET_ERROR(CACHE_WRITE_FAILURE, -402)
693 698
694 // The operation is not supported for this entry. 699 // The operation is not supported for this entry.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 NET_ERROR(DNS_TIMED_OUT, -803) 840 NET_ERROR(DNS_TIMED_OUT, -803)
836 841
837 // The entry was not found in cache, for cache-only lookups. 842 // The entry was not found in cache, for cache-only lookups.
838 NET_ERROR(DNS_CACHE_MISS, -804) 843 NET_ERROR(DNS_CACHE_MISS, -804)
839 844
840 // Suffix search list rules prevent resolution of the given host name. 845 // Suffix search list rules prevent resolution of the given host name.
841 NET_ERROR(DNS_SEARCH_EMPTY, -805) 846 NET_ERROR(DNS_SEARCH_EMPTY, -805)
842 847
843 // Failed to sort addresses according to RFC3484. 848 // Failed to sort addresses according to RFC3484.
844 NET_ERROR(DNS_SORT_ERROR, -806) 849 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698