1 // Copyright 2019 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_HTTP_WEBFONTS_HISTOGRAM_H_ 6 #define NET_HTTP_WEBFONTS_HISTOGRAM_H_ 7 8 #include <string> 9 10 #include "net/http/http_response_info.h" 11 12 // A collection of functions for histogram reporting about web fonts. 13 namespace net::web_fonts_histogram { 14 15 NET_EXPORT void MaybeRecordCacheStatus( 16 HttpResponseInfo::CacheEntryStatus cache_status, 17 const std::string& key); 18 19 } // namespace net::web_fonts_histogram 20 21 #endif // NET_HTTP_WEBFONTS_HISTOGRAM_H_ 22