chromium/content/browser/cache_storage/cache_storage_histogram_utils.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/cache_storage/cache_storage_histogram_utils.h"

#include <string_view>

#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"

namespace content {

blink::mojom::CacheStorageError MakeErrorStorage(ErrorStorageType type) {}

namespace {

// Helper macro to return a literal std::string_view.
#define RETURN_LITERAL_STRING_PIECE(target)

std::string_view UMAToName(CacheStorageSchedulerUMA uma_type) {}

std::string_view ClientToName(CacheStorageSchedulerClient client_type) {}

bool ShouldRecordOpUMA(CacheStorageSchedulerOp op_type) {}

std::string_view OpToName(CacheStorageSchedulerOp op_type) {}

std::string GetClientHistogramName(CacheStorageSchedulerUMA uma_type,
                                   CacheStorageSchedulerClient client_type) {}

}  // namespace

void RecordCacheStorageSchedulerUMA(CacheStorageSchedulerUMA uma_type,
                                    CacheStorageSchedulerClient client_type,
                                    CacheStorageSchedulerOp op_type,
                                    int value) {}

void RecordCacheStorageSchedulerUMA(CacheStorageSchedulerUMA uma_type,
                                    CacheStorageSchedulerClient client_type,
                                    CacheStorageSchedulerOp op_type,
                                    base::TimeDelta value) {}

}  // namespace content