summaryrefslogtreecommitdiff
path: root/chromium/net/http/webfonts_histogram.h
blob: 9da1fd3bac607e2f5feb18e41c3f47046303b3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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"

namespace net {

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

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

}  // namespace web_fonts_histogram

}  // namespace net

#endif  // NET_HTTP_WEBFONTS_HISTOGRAM_H_