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

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

Issue 723133003: Shift URLRequest::Read API contract used by fetcher to ResourceLoader's. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated histogram comment. Created 6 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 | « net/base/net_log_event_type_list.h ('k') | net/url_request/sdch_dictionary_fetcher.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 list of sdch-related problem codes. 8 // This file contains list of sdch-related problem codes.
9 // No error. 9 // No error.
10 SDCH_PROBLEM_CODE(OK, 0) 10 SDCH_PROBLEM_CODE(OK, 0)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // Dictionary loading problems. 49 // Dictionary loading problems.
50 SDCH_PROBLEM_CODE(DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST, 30) 50 SDCH_PROBLEM_CODE(DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST, 30)
51 SDCH_PROBLEM_CODE(DICTIONARY_SELECTED_FOR_SSL, 31) 51 SDCH_PROBLEM_CODE(DICTIONARY_SELECTED_FOR_SSL, 31)
52 SDCH_PROBLEM_CODE(DICTIONARY_ALREADY_LOADED, 32) 52 SDCH_PROBLEM_CODE(DICTIONARY_ALREADY_LOADED, 32)
53 SDCH_PROBLEM_CODE(DICTIONARY_SELECTED_FROM_NON_HTTP, 33) 53 SDCH_PROBLEM_CODE(DICTIONARY_SELECTED_FROM_NON_HTTP, 33)
54 SDCH_PROBLEM_CODE(DICTIONARY_IS_TOO_LARGE, 34) 54 SDCH_PROBLEM_CODE(DICTIONARY_IS_TOO_LARGE, 34)
55 SDCH_PROBLEM_CODE(DICTIONARY_COUNT_EXCEEDED, 35) 55 SDCH_PROBLEM_CODE(DICTIONARY_COUNT_EXCEEDED, 35)
56 // defunct = 36, // DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD used instead. 56 // defunct = 36, // DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD used instead.
57 // defunct = 37, // DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD used instead. 57 // defunct = 37, // DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD used instead.
58 SDCH_PROBLEM_CODE(DICTIONARY_FETCH_READ_FAILED, 38) 58 // defunct = 38, // No longer paying attention to URLRequest::Read return.
59 SDCH_PROBLEM_CODE(DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD, 39) 59 SDCH_PROBLEM_CODE(DICTIONARY_PREVIOUSLY_SCHEDULED_TO_DOWNLOAD, 39)
60 60
61 // Failsafe hack. 61 // Failsafe hack.
62 SDCH_PROBLEM_CODE(ATTEMPT_TO_DECODE_NON_HTTP_DATA, 40) 62 SDCH_PROBLEM_CODE(ATTEMPT_TO_DECODE_NON_HTTP_DATA, 40)
63 63
64 // Content-Encoding problems detected, with no action taken. 64 // Content-Encoding problems detected, with no action taken.
65 SDCH_PROBLEM_CODE(MULTIENCODING_FOR_NON_SDCH_REQUEST, 50) 65 SDCH_PROBLEM_CODE(MULTIENCODING_FOR_NON_SDCH_REQUEST, 50)
66 SDCH_PROBLEM_CODE(SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST, 51) 66 SDCH_PROBLEM_CODE(SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST, 51)
67 67
68 // Dictionary manager issues. 68 // Dictionary manager issues.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // General SDCH problems. 118 // General SDCH problems.
119 // SDCH is disabled. 119 // SDCH is disabled.
120 SDCH_PROBLEM_CODE(DISABLED, 105) 120 SDCH_PROBLEM_CODE(DISABLED, 105)
121 // SDCH over https is disabled. 121 // SDCH over https is disabled.
122 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106) 122 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106)
123 123
124 // Used to bound histogram. 124 // Used to bound histogram.
125 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110) 125 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110)
126 126
127 // These values are not used in histograms. 127 // These values are not used in histograms.
OLDNEW
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/url_request/sdch_dictionary_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698