#include "components/metrics/metrics_logs_event_manager.h"
#include <string_view>
namespace metrics {
bool MetricsLogsEventManager::ScopedNotifyLogType::instance_exists_ = …;
MetricsLogsEventManager::ScopedNotifyLogType::ScopedNotifyLogType(
MetricsLogsEventManager* logs_event_manager,
MetricsLog::LogType log_type)
: … { … }
MetricsLogsEventManager::ScopedNotifyLogType::~ScopedNotifyLogType() { … }
MetricsLogsEventManager::MetricsLogsEventManager() = default;
MetricsLogsEventManager::~MetricsLogsEventManager() = default;
void MetricsLogsEventManager::AddObserver(Observer* observer) { … }
void MetricsLogsEventManager::RemoveObserver(Observer* observer) { … }
void MetricsLogsEventManager::NotifyLogCreated(std::string_view log_hash,
std::string_view log_data,
std::string_view log_timestamp,
CreateReason reason) { … }
void MetricsLogsEventManager::NotifyLogEvent(LogEvent event,
std::string_view log_hash,
std::string_view message) { … }
void MetricsLogsEventManager::NotifyLogType(
std::optional<MetricsLog::LogType> log_type) { … }
}