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

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

Issue 1662763002: [ON HOLD] Implement pull-based design for content decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Matt's comments Created 4 years, 4 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
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 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) 675 NET_ERROR(PAC_SCRIPT_TERMINATED, -367)
676 676
677 // Request is throttled because of a Backoff header. 677 // Request is throttled because of a Backoff header.
678 // See: crbug.com/486891. 678 // See: crbug.com/486891.
679 NET_ERROR(TEMPORARY_BACKOFF, -369) 679 NET_ERROR(TEMPORARY_BACKOFF, -369)
680 680
681 // The server was expected to return an HTTP/1.x response, but did not. Rather 681 // The server was expected to return an HTTP/1.x response, but did not. Rather
682 // than treat it as HTTP/0.9, this error is returned. 682 // than treat it as HTTP/0.9, this error is returned.
683 NET_ERROR(INVALID_HTTP_RESPONSE, -370) 683 NET_ERROR(INVALID_HTTP_RESPONSE, -370)
684 684
685 // Initializing content decoding failed.
686 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371)
687
685 // The cache does not have the requested entry. 688 // The cache does not have the requested entry.
686 NET_ERROR(CACHE_MISS, -400) 689 NET_ERROR(CACHE_MISS, -400)
687 690
688 // Unable to read from the disk cache. 691 // Unable to read from the disk cache.
689 NET_ERROR(CACHE_READ_FAILURE, -401) 692 NET_ERROR(CACHE_READ_FAILURE, -401)
690 693
691 // Unable to write to the disk cache. 694 // Unable to write to the disk cache.
692 NET_ERROR(CACHE_WRITE_FAILURE, -402) 695 NET_ERROR(CACHE_WRITE_FAILURE, -402)
693 696
694 // The operation is not supported for this entry. 697 // 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) 838 NET_ERROR(DNS_TIMED_OUT, -803)
836 839
837 // The entry was not found in cache, for cache-only lookups. 840 // The entry was not found in cache, for cache-only lookups.
838 NET_ERROR(DNS_CACHE_MISS, -804) 841 NET_ERROR(DNS_CACHE_MISS, -804)
839 842
840 // Suffix search list rules prevent resolution of the given host name. 843 // Suffix search list rules prevent resolution of the given host name.
841 NET_ERROR(DNS_SEARCH_EMPTY, -805) 844 NET_ERROR(DNS_SEARCH_EMPTY, -805)
842 845
843 // Failed to sort addresses according to RFC3484. 846 // Failed to sort addresses according to RFC3484.
844 NET_ERROR(DNS_SORT_ERROR, -806) 847 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « net/DEPS ('k') | net/docs/filter.md » ('j') | net/filter/brotli_source_stream.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698