chromium/components/cross_device/logging/log_buffer.cc

// Copyright 2023 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/cross_device/logging/log_buffer.h"
#include "base/no_destructor.h"

namespace {

// The maximum number of logs that can be stored in the buffer.
constexpr size_t kMaxBufferSize =;

}  // namespace

CrossDeviceLogBuffer::LogMessage::LogMessage(const std::string& text,
                                             Feature feature,
                                             base::Time time,
                                             const std::string& file,
                                             int line,
                                             logging::LogSeverity severity)
    :{}

CrossDeviceLogBuffer::LogMessage::LogMessage(const LogMessage& message) =
    default;
CrossDeviceLogBuffer::CrossDeviceLogBuffer() = default;

CrossDeviceLogBuffer::~CrossDeviceLogBuffer() = default;

CrossDeviceLogBuffer* CrossDeviceLogBuffer::GetInstance() {}

void CrossDeviceLogBuffer::AddObserver(Observer* observer) {}

void CrossDeviceLogBuffer::RemoveObserver(Observer* observer) {}

void CrossDeviceLogBuffer::AddLogMessage(const LogMessage& log_message) {}

void CrossDeviceLogBuffer::Clear() {}

size_t CrossDeviceLogBuffer::MaxBufferSize() const {}