summaryrefslogtreecommitdiff
path: root/chromium/net/http/webfonts_histogram.h
blob: 73437531a5e2497692fb3b7a3308c2084dfae6dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_HTTP_WEBFONTS_HISTOGRAM_H_
#define NET_HTTP_WEBFONTS_HISTOGRAM_H_

#include <string>

#include "net/http/http_response_info.h"

// A collection of functions for histogram reporting about web fonts.
namespace net::web_fonts_histogram {

NET_EXPORT void MaybeRecordCacheStatus(
    HttpResponseInfo::CacheEntryStatus cache_status,
    const std::string& key);

}  // namespace net::web_fonts_histogram

#endif  // NET_HTTP_WEBFONTS_HISTOGRAM_H_