chromium/components/download/internal/background_service/model_stats.cc

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

#include "components/download/internal/background_service/model_stats.h"

#include "base/metrics/histogram_functions.h"

namespace download {
namespace stats {
namespace {

// Converts Entry::State to histogram suffix.
// Should maps to suffix string in histograms.xml.
std::string EntryStateToHistogramSuffix(Entry::State state) {}

// Helper method to log the number of entries under a particular state.
void LogDatabaseRecords(download::Entry::State state, uint32_t record_count) {}

}  // namespace

void LogModelOperationResult(ModelAction action, bool success) {}

void LogEntries(std::map<Entry::State, uint32_t>& entries_count) {}

}  // namespace stats
}  // namespace download