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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « net/base/sdch_observer.h ('k') | net/cert/nss_cert_database.h » ('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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 SDCH_PROBLEM_CODE(DICTIONARY_PORT_NOT_MATCHING_SOURCE_URL, 25) 44 SDCH_PROBLEM_CODE(DICTIONARY_PORT_NOT_MATCHING_SOURCE_URL, 25)
45 SDCH_PROBLEM_CODE(DICTIONARY_HAS_NO_TEXT, 26) 45 SDCH_PROBLEM_CODE(DICTIONARY_HAS_NO_TEXT, 26)
46 SDCH_PROBLEM_CODE(DICTIONARY_REFERER_URL_HAS_DOT_IN_PREFIX, 27) 46 SDCH_PROBLEM_CODE(DICTIONARY_REFERER_URL_HAS_DOT_IN_PREFIX, 27)
47 SDCH_PROBLEM_CODE(DICTIONARY_UNSUPPORTED_VERSION, 28) 47 SDCH_PROBLEM_CODE(DICTIONARY_UNSUPPORTED_VERSION, 28)
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 // defunct = 34, // Now recorded in separate histogram; see sdch_owner.cc.
55 SDCH_PROBLEM_CODE(DICTIONARY_COUNT_EXCEEDED, 35) 55 // defunct = 35, // Now recorded in separate histogram; see sdch_owner.cc.
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 // defunct = 38, // No longer paying attention to URLRequest::Read return. 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 // More dictionary loading problems.
65 SDCH_PROBLEM_CODE(DICTIONARY_NO_ROOM, 44)
66
64 // Content-Encoding problems detected, with no action taken. 67 // Content-Encoding problems detected, with no action taken.
65 SDCH_PROBLEM_CODE(MULTIENCODING_FOR_NON_SDCH_REQUEST, 50) 68 SDCH_PROBLEM_CODE(MULTIENCODING_FOR_NON_SDCH_REQUEST, 50)
66 SDCH_PROBLEM_CODE(SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST, 51) 69 SDCH_PROBLEM_CODE(SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST, 51)
67 70
68 // A dictionary that wasn't advertised is being used for decoding. 71 // A dictionary that wasn't advertised is being used for decoding.
69 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED, 52) 72 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED, 52)
70 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED_CACHED, 53) 73 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED_CACHED, 53)
71 74
72 // Dictionary manager issues. 75 // Dictionary manager issues.
73 SDCH_PROBLEM_CODE(DOMAIN_BLACKLIST_INCLUDES_TARGET, 61) 76 SDCH_PROBLEM_CODE(DOMAIN_BLACKLIST_INCLUDES_TARGET, 61)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // General SDCH problems. 125 // General SDCH problems.
123 // SDCH is disabled. 126 // SDCH is disabled.
124 SDCH_PROBLEM_CODE(DISABLED, 105) 127 SDCH_PROBLEM_CODE(DISABLED, 105)
125 // SDCH over https is disabled. 128 // SDCH over https is disabled.
126 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106) 129 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106)
127 130
128 // Used to bound histogram. 131 // Used to bound histogram.
129 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110) 132 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110)
130 133
131 // These values are not used in histograms. 134 // These values are not used in histograms.
OLDNEW
« no previous file with comments | « net/base/sdch_observer.h ('k') | net/cert/nss_cert_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698