Move WeakPtrFactory member to the end of LocalExtensionCache
[chromium-blink-merge.git] / net / disk_cache / blockfile / webfonts_histogram.h
blob1a920a955144e3db1c956011a6b1ee37917a0a05
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_DISK_CACHE_BLOCKFILE_WEBFONTS_HISTOGRAM_H_
6 #define NET_DISK_CACHE_BLOCKFILE_WEBFONTS_HISTOGRAM_H_
8 #include <string>
10 namespace disk_cache {
12 class EntryImpl;
14 // A collection of functions for histogram reporting about web fonts.
15 namespace web_fonts_histogram {
17 void RecordCacheMiss(const std::string& key);
18 void RecordEvictedEntry(const std::string& key);
19 void RecordCacheHit(EntryImpl* entry);
20 void RecordEviction(EntryImpl* entry);
22 } // namespace web_fonts_histogram
24 } // namespace disk_cache
26 #endif // NET_DISK_CACHE_BLOCKFILE_WEBFONTS_HISTOGRAM_H_