Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: net/base/sdch_manager.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/cert/cert_database.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/cert/cert_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698