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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/sdch_manager_unittest.cc ('k') | net/cookies/cookie_monster.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // 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 // A dictionary that wasn't advertised is being used for decoding.
69 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED, 52)
70 SDCH_PROBLEM_CODE(UNADVERTISED_DICTIONARY_USED_CACHED, 53)
71
68 // Dictionary manager issues. 72 // Dictionary manager issues.
69 SDCH_PROBLEM_CODE(DOMAIN_BLACKLIST_INCLUDES_TARGET, 61) 73 SDCH_PROBLEM_CODE(DOMAIN_BLACKLIST_INCLUDES_TARGET, 61)
70 74
71 // Problematic decode recovery methods. 75 // Problematic decode recovery methods.
72 // Dictionary not found. 76 // Dictionary not found.
73 SDCH_PROBLEM_CODE(META_REFRESH_RECOVERY, 70) 77 SDCH_PROBLEM_CODE(META_REFRESH_RECOVERY, 70)
74 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. 78 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED.
75 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED. 79 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED.
76 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH. 80 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH.
77 // Unrecoverable error. 81 // Unrecoverable error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // General SDCH problems. 122 // General SDCH problems.
119 // SDCH is disabled. 123 // SDCH is disabled.
120 SDCH_PROBLEM_CODE(DISABLED, 105) 124 SDCH_PROBLEM_CODE(DISABLED, 105)
121 // SDCH over https is disabled. 125 // SDCH over https is disabled.
122 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106) 126 SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106)
123 127
124 // Used to bound histogram. 128 // Used to bound histogram.
125 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110) 129 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110)
126 130
127 // These values are not used in histograms. 131 // These values are not used in histograms.
OLDNEW
« no previous file with comments | « net/base/sdch_manager_unittest.cc ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698