#include "third_party/blink/renderer/modules/webcodecs/codec_pressure_manager.h"
#include "base/task/sequenced_task_runner.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "third_party/blink/renderer/modules/webcodecs/codec_pressure_gauge.h"
#include "third_party/blink/renderer/platform/heap/cross_thread_persistent.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_copier_base.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
CodecPressureManager::CodecPressureManager(
ReclaimableCodec::CodecType codec_type,
scoped_refptr<base::SequencedTaskRunner> task_runner)
: … { … }
CodecPressureGauge& CodecPressureManager::GetCodecPressureGauge() { … }
void CodecPressureManager::AddCodec(ReclaimableCodec* codec) { … }
void CodecPressureManager::RemoveCodec(ReclaimableCodec* codec) { … }
void CodecPressureManager::OnCodecDisposed(ReclaimableCodec* codec) { … }
void CodecPressureManager::OnGlobalPressureThresholdChanged(
bool pressure_threshold_exceeded) { … }
void CodecPressureManager::UnregisterManager() { … }
void CodecPressureManager::Trace(Visitor* visitor) const { … }
}