#include "media/base/decoder_status.h"
#include <sstream>
#include <string>
#include "base/trace_event/trace_event.h"
#include "media/base/status.h"
namespace media {
namespace {
const std::string GetDecodeStatusString(const DecoderStatus& status) { … }
}
std::ostream& operator<<(std::ostream& os, const DecoderStatus& status) { … }
ScopedDecodeTrace::ScopedDecodeTrace(const char* trace_name,
bool is_key_frame,
base::TimeDelta timestamp)
: … { … }
ScopedDecodeTrace::ScopedDecodeTrace(const char* trace_name,
const DecoderBuffer& buffer)
: … { … }
ScopedDecodeTrace::~ScopedDecodeTrace() { … }
void ScopedDecodeTrace::EndTrace(const DecoderStatus& status) { … }
}