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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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/base/upload_file_element_reader_unittest.cc » ('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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 DomainBlacklistInfo blacklisted_domains_; 245 DomainBlacklistInfo blacklisted_domains_;
246 246
247 // List of hostnames for which a latency experiment is allowed (because a 247 // List of hostnames for which a latency experiment is allowed (because a
248 // round trip test has recently passed). 248 // round trip test has recently passed).
249 ExperimentSet allow_latency_experiment_; 249 ExperimentSet allow_latency_experiment_;
250 250
251 // Observers that want to be notified of SDCH events. 251 // Observers that want to be notified of SDCH events.
252 // Assert list is empty on destruction since if there is an observer 252 // Assert list is empty on destruction since if there is an observer
253 // that hasn't removed itself from the list, that observer probably 253 // that hasn't removed itself from the list, that observer probably
254 // has a reference to the SdchManager. 254 // has a reference to the SdchManager.
255 ObserverList<SdchObserver, true> observers_; 255 base::ObserverList<SdchObserver, true> observers_;
256 256
257 base::ThreadChecker thread_checker_; 257 base::ThreadChecker thread_checker_;
258 258
259 base::WeakPtrFactory<SdchManager> factory_; 259 base::WeakPtrFactory<SdchManager> factory_;
260 260
261 DISALLOW_COPY_AND_ASSIGN(SdchManager); 261 DISALLOW_COPY_AND_ASSIGN(SdchManager);
262 }; 262 };
263 263
264 } // namespace net 264 } // namespace net
265 265
266 #endif // NET_BASE_SDCH_MANAGER_H_ 266 #endif // NET_BASE_SDCH_MANAGER_H_
OLDNEW
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/base/upload_file_element_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698