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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 // Dictionary loading problems. | 118 // Dictionary loading problems. |
119 DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST = 30, | 119 DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST = 30, |
120 DICTIONARY_SELECTED_FOR_SSL = 31, | 120 DICTIONARY_SELECTED_FOR_SSL = 31, |
121 DICTIONARY_ALREADY_LOADED = 32, | 121 DICTIONARY_ALREADY_LOADED = 32, |
122 DICTIONARY_SELECTED_FROM_NON_HTTP = 33, | 122 DICTIONARY_SELECTED_FROM_NON_HTTP = 33, |
123 DICTIONARY_IS_TOO_LARGE= 34, | 123 DICTIONARY_IS_TOO_LARGE= 34, |
124 DICTIONARY_COUNT_EXCEEDED = 35, | 124 DICTIONARY_COUNT_EXCEEDED = 35, |
125 DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD = 36, | 125 DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD = 36, |
126 DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD = 37, | 126 DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD = 37, |
| 127 DICTIONARY_FETCH_READ_FAILED = 38, |
127 | 128 |
128 // Failsafe hack. | 129 // Failsafe hack. |
129 ATTEMPT_TO_DECODE_NON_HTTP_DATA = 40, | 130 ATTEMPT_TO_DECODE_NON_HTTP_DATA = 40, |
130 | 131 |
131 | 132 |
132 // Content-Encoding problems detected, with no action taken. | 133 // Content-Encoding problems detected, with no action taken. |
133 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, | 134 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, |
134 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, | 135 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, |
135 | 136 |
136 // Dictionary manager issues. | 137 // Dictionary manager issues. |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 ExperimentSet allow_latency_experiment_; | 399 ExperimentSet allow_latency_experiment_; |
399 | 400 |
400 int fetches_count_for_testing_; | 401 int fetches_count_for_testing_; |
401 | 402 |
402 DISALLOW_COPY_AND_ASSIGN(SdchManager); | 403 DISALLOW_COPY_AND_ASSIGN(SdchManager); |
403 }; | 404 }; |
404 | 405 |
405 } // namespace net | 406 } // namespace net |
406 | 407 |
407 #endif // NET_BASE_SDCH_MANAGER_H_ | 408 #endif // NET_BASE_SDCH_MANAGER_H_ |
OLD | NEW |