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 // This file contains the SdchManager class and the DictionarySet | 5 // This file contains the SdchManager class and the DictionarySet |
6 // nested class. The manager is responsible for storing all | 6 // nested class. The manager is responsible for storing all |
7 // SdchDictionarys, and provides access to them through DictionarySet | 7 // SdchDictionarys, and provides access to them through DictionarySet |
8 // objects. A DictionarySet is an object whose lifetime is under the | 8 // objects. A DictionarySet is an object whose lifetime is under the |
9 // control of the consumer. It is a reference to a set of | 9 // control of the consumer. It is a reference to a set of |
10 // dictionaries, and guarantees that none of those dictionaries will | 10 // dictionaries, and guarantees that none of those dictionaries will |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 DomainBlacklistInfo blacklisted_domains_; | 241 DomainBlacklistInfo blacklisted_domains_; |
242 | 242 |
243 // List of hostnames for which a latency experiment is allowed (because a | 243 // List of hostnames for which a latency experiment is allowed (because a |
244 // round trip test has recently passed). | 244 // round trip test has recently passed). |
245 ExperimentSet allow_latency_experiment_; | 245 ExperimentSet allow_latency_experiment_; |
246 | 246 |
247 // Observers that want to be notified of SDCH events. | 247 // Observers that want to be notified of SDCH events. |
248 // Assert list is empty on destruction since if there is an observer | 248 // Assert list is empty on destruction since if there is an observer |
249 // that hasn't removed itself from the list, that observer probably | 249 // that hasn't removed itself from the list, that observer probably |
250 // has a reference to the SdchManager. | 250 // has a reference to the SdchManager. |
251 ObserverList<SdchObserver, true> observers_; | 251 base::ObserverList<SdchObserver, true> observers_; |
252 | 252 |
253 base::ThreadChecker thread_checker_; | 253 base::ThreadChecker thread_checker_; |
254 | 254 |
255 DISALLOW_COPY_AND_ASSIGN(SdchManager); | 255 DISALLOW_COPY_AND_ASSIGN(SdchManager); |
256 }; | 256 }; |
257 | 257 |
258 } // namespace net | 258 } // namespace net |
259 | 259 |
260 #endif // NET_BASE_SDCH_MANAGER_H_ | 260 #endif // NET_BASE_SDCH_MANAGER_H_ |
OLD | NEW |