| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Provides global database of differential decompression dictionaries for the | 5 // Provides global database of differential decompression dictionaries for the |
| 6 // SDCH filter (processes sdch enconded content). | 6 // SDCH filter (processes sdch enconded content). |
| 7 | 7 |
| 8 // Exactly one instance of SdchManager is built, and all references are made | 8 // Exactly one instance of SdchManager is built, and all references are made |
| 9 // into that collection. | 9 // into that collection. |
| 10 // | 10 // |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, | 120 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, |
| 121 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, | 121 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, |
| 122 | 122 |
| 123 // Dictionary manager issues. | 123 // Dictionary manager issues. |
| 124 DOMAIN_BLACKLIST_INCLUDES_TARGET = 61, | 124 DOMAIN_BLACKLIST_INCLUDES_TARGET = 61, |
| 125 | 125 |
| 126 // Problematic decode recovery methods. | 126 // Problematic decode recovery methods. |
| 127 META_REFRESH_RECOVERY = 70, // Dictionary not found. | 127 META_REFRESH_RECOVERY = 70, // Dictionary not found. |
| 128 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. | 128 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. |
| 129 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED. | 129 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED. |
| 130 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH. | 130 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus |
| 131 // RESPONSE_TENTATIVE_SDCH in ../filter/sdch_filter.cc. |
| 131 META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error. | 132 META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error. |
| 132 CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache. | 133 CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache. |
| 133 PASSING_THROUGH_NON_SDCH = 76, // Tagged sdch but missing dictionary-hash. | 134 PASSING_THROUGH_NON_SDCH = 76, // Tagged sdch but missing dictionary-hash. |
| 134 INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded. | 135 INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded. |
| 135 PASS_THROUGH_404_CODE = 78, // URL not found message passing through. | 136 PASS_THROUGH_404_CODE = 78, // URL not found message passing through. |
| 136 | 137 |
| 137 // This next report is very common, and not really an error scenario, but | 138 // This next report is very common, and not really an error scenario, but |
| 138 // it exercises the error recovery logic. | 139 // it exercises the error recovery logic. |
| 139 PASS_THROUGH_OLD_CACHED = 79, // Back button got pre-SDCH cached content. | 140 PASS_THROUGH_OLD_CACHED = 79, // Back button got pre-SDCH cached content. |
| 140 | 141 |
| 141 // Common decoded recovery methods. | 142 // Common decoded recovery methods. |
| 142 META_REFRESH_CACHED_RECOVERY = 80, // Probably startup tab loading. | 143 META_REFRESH_CACHED_RECOVERY = 80, // Probably startup tab loading. |
| 143 DISCARD_TENTATIVE_SDCH = 81, // Server decided not to use sdch. | 144 // defunct = 81, // Now tracked by ResponseCorruptionDetectionCause histo. |
| 144 | 145 |
| 145 // Non SDCH problems, only accounted for to make stat counting complete | 146 // Non SDCH problems, only accounted for to make stat counting complete |
| 146 // (i.e., be able to be sure all dictionary advertisements are accounted | 147 // (i.e., be able to be sure all dictionary advertisements are accounted |
| 147 // for). | 148 // for). |
| 148 | 149 |
| 149 UNFLUSHED_CONTENT = 90, // Possible error in filter chaining. | 150 UNFLUSHED_CONTENT = 90, // Possible error in filter chaining. |
| 150 // defunct = 91, // MISSING_TIME_STATS (Should never happen.) | 151 // defunct = 91, // MISSING_TIME_STATS (Should never happen.) |
| 151 CACHE_DECODED = 92, // No timing stats recorded. | 152 CACHE_DECODED = 92, // No timing stats recorded. |
| 152 // defunct = 93, // OVER_10_MINUTES (No timing stats recorded.) | 153 // defunct = 93, // OVER_10_MINUTES (No timing stats recorded.) |
| 153 UNINITIALIZED = 94, // Filter never even got initialized. | 154 UNINITIALIZED = 94, // Filter never even got initialized. |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 ExperimentSet allow_latency_experiment_; | 382 ExperimentSet allow_latency_experiment_; |
| 382 | 383 |
| 383 int fetches_count_for_testing_; | 384 int fetches_count_for_testing_; |
| 384 | 385 |
| 385 DISALLOW_COPY_AND_ASSIGN(SdchManager); | 386 DISALLOW_COPY_AND_ASSIGN(SdchManager); |
| 386 }; | 387 }; |
| 387 | 388 |
| 388 } // namespace net | 389 } // namespace net |
| 389 | 390 |
| 390 #endif // NET_BASE_SDCH_MANAGER_H_ | 391 #endif // NET_BASE_SDCH_MANAGER_H_ |
| OLD | NEW |