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_
10 namespace disk_cache
{
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_