#include "third_party/blink/public/web/web_crypto_histograms.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/web_crypto_algorithm.h"
#include "third_party/blink/public/platform/web_crypto_algorithm_params.h"
#include "third_party/blink/public/platform/web_crypto_key_algorithm.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
static WebFeature AlgorithmIdToFeature(WebCryptoAlgorithmId id) { … }
static void HistogramAlgorithmId(ExecutionContext* context,
WebCryptoAlgorithmId algorithm_id) { … }
void HistogramAlgorithm(ExecutionContext* context,
const WebCryptoAlgorithm& algorithm) { … }
void HistogramKey(ExecutionContext* context, const WebCryptoKey& key) { … }
void HistogramAlgorithmAndKey(ExecutionContext* context,
const WebCryptoAlgorithm& algorithm,
const WebCryptoKey& key) { … }
void HistogramDeriveBitsTruncation(ExecutionContext* context,
std::optional<unsigned int> length_bits,
WebCryptoWarningType status) { … }
}