| OLD | NEW |
| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // We hadn't even parsed a dictionary selector. | 116 // We hadn't even parsed a dictionary selector. |
| 117 SDCH_PROBLEM_CODE(PRIOR_TO_DICTIONARY, 95) | 117 SDCH_PROBLEM_CODE(PRIOR_TO_DICTIONARY, 95) |
| 118 // Something went wrong during decode. | 118 // Something went wrong during decode. |
| 119 SDCH_PROBLEM_CODE(DECODE_ERROR, 96) | 119 SDCH_PROBLEM_CODE(DECODE_ERROR, 96) |
| 120 | 120 |
| 121 // Problem during the latency test. | 121 // Problem during the latency test. |
| 122 // SDCH now failing, but it worked before! | 122 // SDCH now failing, but it worked before! |
| 123 SDCH_PROBLEM_CODE(LATENCY_TEST_DISALLOWED, 100) | 123 SDCH_PROBLEM_CODE(LATENCY_TEST_DISALLOWED, 100) |
| 124 | 124 |
| 125 // General SDCH problems. | 125 // General SDCH problems. |
| 126 // SDCH is disabled. | 126 // SDCH is enabled or disabled per URLRequestContext now so this value is never |
| 127 SDCH_PROBLEM_CODE(DISABLED, 105) | 127 // used. |
| 128 // SDCH over https is disabled. | 128 // SDCH_PROBLEM_CODE(DISABLED, 105) |
| 129 |
| 129 // SDCH always supports secure schemes now, so this enum value is unused. | 130 // SDCH always supports secure schemes now, so this enum value is unused. |
| 130 // SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106) | 131 // SDCH_PROBLEM_CODE(SECURE_SCHEME_NOT_SUPPORTED, 106) |
| 131 | 132 |
| 132 // A dictionary used notification occurred after dictionary deletion. | 133 // A dictionary used notification occurred after dictionary deletion. |
| 133 SDCH_PROBLEM_CODE(DICTIONARY_USED_AFTER_DELETION, 107) | 134 SDCH_PROBLEM_CODE(DICTIONARY_USED_AFTER_DELETION, 107) |
| 134 | 135 |
| 135 // Used to bound histogram. | 136 // Used to bound histogram. |
| 136 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110) | 137 SDCH_PROBLEM_CODE(MAX_PROBLEM_CODE, 110) |
| 137 | 138 |
| 138 // These values are not used in histograms. | 139 // These values are not used in histograms. |
| OLD | NEW |