mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-02-28 12:53:19 +03:00
28 lines
787 B
C++
28 lines
787 B
C++
// 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.
|
|
//
|
|
// This file contains definitions for media caching metrics.
|
|
|
|
#ifndef NET_BASE_CACHE_METRICS_H_
|
|
#define NET_BASE_CACHE_METRICS_H_
|
|
|
|
#include "base/metrics/histogram_macros.h"
|
|
#include "net/base/net_export.h"
|
|
|
|
namespace net {
|
|
|
|
// UMA histogram enumerations for indicating whether media caching
|
|
// is enabled or disabled.
|
|
enum class MediaResponseCacheType {
|
|
kMediaResponseTransactionCacheDisabled = 0,
|
|
kMediaResponseTransactionCacheEnabled = 1,
|
|
kMaxValue = kMediaResponseTransactionCacheEnabled
|
|
};
|
|
|
|
NET_EXPORT void MediaCacheStatusResponseHistogram(MediaResponseCacheType type);
|
|
|
|
} // namespace net
|
|
|
|
#endif // NET_BASE_CACHE_METRICS_H_
|