| 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 #ifndef NET_BASE_SDCH_MANAGER_H_ | 5 #ifndef NET_BASE_SDCH_MANAGER_H_ |
| 6 #define NET_BASE_SDCH_MANAGER_H_ | 6 #define NET_BASE_SDCH_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Dictionary loading problems. | 78 // Dictionary loading problems. |
| 79 DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST = 30, | 79 DICTIONARY_LOAD_ATTEMPT_FROM_DIFFERENT_HOST = 30, |
| 80 DICTIONARY_SELECTED_FOR_SSL = 31, | 80 DICTIONARY_SELECTED_FOR_SSL = 31, |
| 81 DICTIONARY_ALREADY_LOADED = 32, | 81 DICTIONARY_ALREADY_LOADED = 32, |
| 82 DICTIONARY_SELECTED_FROM_NON_HTTP = 33, | 82 DICTIONARY_SELECTED_FROM_NON_HTTP = 33, |
| 83 DICTIONARY_IS_TOO_LARGE= 34, | 83 DICTIONARY_IS_TOO_LARGE= 34, |
| 84 DICTIONARY_COUNT_EXCEEDED = 35, | 84 DICTIONARY_COUNT_EXCEEDED = 35, |
| 85 DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD = 36, | 85 DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD = 36, |
| 86 DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD = 37, | 86 DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD = 37, |
| 87 DICTIONARY_FETCH_READ_FAILED = 38, | 87 // defunct == 38, // DICTIONARY_FETCH_READ_FAILED; no longer |
| 88 // paying attention to URLRequest::Read return. |
| 88 | 89 |
| 89 // Failsafe hack. | 90 // Failsafe hack. |
| 90 ATTEMPT_TO_DECODE_NON_HTTP_DATA = 40, | 91 ATTEMPT_TO_DECODE_NON_HTTP_DATA = 40, |
| 91 | 92 |
| 92 | |
| 93 // Content-Encoding problems detected, with no action taken. | 93 // Content-Encoding problems detected, with no action taken. |
| 94 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, | 94 MULTIENCODING_FOR_NON_SDCH_REQUEST = 50, |
| 95 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, | 95 SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST = 51, |
| 96 | 96 |
| 97 // Dictionary manager issues. | 97 // Dictionary manager issues. |
| 98 DOMAIN_BLACKLIST_INCLUDES_TARGET = 61, | 98 DOMAIN_BLACKLIST_INCLUDES_TARGET = 61, |
| 99 | 99 |
| 100 // Problematic decode recovery methods. | 100 // Problematic decode recovery methods. |
| 101 META_REFRESH_RECOVERY = 70, // Dictionary not found. | 101 META_REFRESH_RECOVERY = 70, // Dictionary not found. |
| 102 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. | 102 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 ObserverList<SdchObserver, true> observers_; | 356 ObserverList<SdchObserver, true> observers_; |
| 357 | 357 |
| 358 base::ThreadChecker thread_checker_; | 358 base::ThreadChecker thread_checker_; |
| 359 | 359 |
| 360 DISALLOW_COPY_AND_ASSIGN(SdchManager); | 360 DISALLOW_COPY_AND_ASSIGN(SdchManager); |
| 361 }; | 361 }; |
| 362 | 362 |
| 363 } // namespace net | 363 } // namespace net |
| 364 | 364 |
| 365 #endif // NET_BASE_SDCH_MANAGER_H_ | 365 #endif // NET_BASE_SDCH_MANAGER_H_ |
| OLD | NEW |