// 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. #ifndef COMPONENTS_CROSS_DEVICE_LOGGING_LOG_BUFFER_H_ #define COMPONENTS_CROSS_DEVICE_LOGGING_LOG_BUFFER_H_ #include <stddef.h> #include <list> #include "base/logging.h" #include "base/observer_list.h" #include "base/time/time.h" enum class Feature { … }; // Contains logs specific to Nearby Sharing. This buffer has a maximum size // and will discard entries in FIFO order. // Call CrossDeviceLogBuffer::GetInstance() to get the global // CrossDeviceLogBuffer instance. class CrossDeviceLogBuffer { … }; #endif // COMPONENTS_CROSS_DEVICE_LOGGING_LOG_BUFFER_H_