chromium/media/base/media_log.cc

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

#include "media/base/media_log.h"

#include <utility>

#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string_util.h"
#include "base/values.h"
#include "media/base/media_switches.h"

namespace media {

// Static declaration for dictionary keys that we expect to be used inside
// different |MediaLogRecord|s. We declare them here so if they change, its
// only in one spot.
const char MediaLog::kEventKey[] =;

MediaLog::MediaLog() :{}

MediaLog::MediaLog(scoped_refptr<ParentLogRecord> parent_log_record)
    :{}

MediaLog::~MediaLog() {}

// Default *Locked implementations
void MediaLog::AddLogRecordLocked(std::unique_ptr<MediaLogRecord> event) {}

std::string MediaLog::GetErrorMessageLocked() {}

// Default implementation.
void MediaLog::Stop() {}

bool MediaLog::ShouldLogToDebugConsole() const {}

void MediaLog::AddMessage(MediaLogMessageLevel level, std::string message) {}

void MediaLog::OnWebMediaPlayerDestroyedLocked() {}
void MediaLog::OnWebMediaPlayerDestroyed() {}

std::string MediaLog::GetErrorMessage() {}

std::unique_ptr<MediaLog> MediaLog::Clone() {}

void MediaLog::AddLogRecord(std::unique_ptr<MediaLogRecord> record) {}

void MediaLog::EmitConsoleErrorLog(base::Value::Dict status_dict) {}

std::unique_ptr<MediaLogRecord> MediaLog::CreateRecord(
    MediaLogRecord::Type type) {}

void MediaLog::InvalidateLog() {}

MediaLog::ParentLogRecord::ParentLogRecord(MediaLog* log) :{}
MediaLog::ParentLogRecord::~ParentLogRecord() = default;

LogHelper::LogHelper(MediaLogMessageLevel level,
                     MediaLog* media_log,
                     const char* file,
                     int line,
                     std::optional<logging::SystemErrorCode> code)
    :{}

LogHelper::LogHelper(MediaLogMessageLevel level,
                     const std::unique_ptr<MediaLog>& media_log,
                     const char* file,
                     int line,
                     std::optional<logging::SystemErrorCode> code)
    :{}

LogHelper::~LogHelper() {}

}  // namespace media