chromium/components/metrics/log_store.h

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

#ifndef COMPONENTS_METRICS_LOG_STORE_H_
#define COMPONENTS_METRICS_LOG_STORE_H_

#include <optional>
#include <string>
#include <string_view>

#include "components/metrics/metrics_log.h"

namespace metrics {

// Interface for local storage of serialized logs to be reported.
// It allows consumers to check if there are logs to consume, consume them one
// at a time by staging and discarding logs, and persist/load the whole set.
class LogStore {};

}  // namespace metrics

#endif  // COMPONENTS_METRICS_LOG_STORE_H_