#include "third_party/blink/renderer/modules/webaudio/audio_worklet.h"
#include "third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/workers/threaded_worklet_object_proxy.h"
#include "third_party/blink/renderer/core/workers/worker_clients.h"
#include "third_party/blink/renderer/modules/webaudio/audio_worklet_messaging_proxy.h"
#include "third_party/blink/renderer/modules/webaudio/audio_worklet_node.h"
#include "third_party/blink/renderer/modules/webaudio/base_audio_context.h"
#include "third_party/blink/renderer/modules/webaudio/cross_thread_audio_worklet_processor_info.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
AudioWorklet::AudioWorklet(BaseAudioContext* context)
: … { … }
void AudioWorklet::CreateProcessor(
scoped_refptr<AudioWorkletHandler> handler,
MessagePortChannel message_port_channel,
scoped_refptr<SerializedScriptValue> node_options) { … }
void AudioWorklet::NotifyGlobalScopeIsUpdated() { … }
BaseAudioContext* AudioWorklet::GetBaseAudioContext() const { … }
const Vector<CrossThreadAudioParamInfo>
AudioWorklet::GetParamInfoListForProcessor(
const String& name) { … }
bool AudioWorklet::IsProcessorRegistered(const String& name) { … }
bool AudioWorklet::IsReady() { … }
bool AudioWorklet::NeedsToCreateGlobalScope() { … }
WorkletGlobalScopeProxy* AudioWorklet::CreateGlobalScope() { … }
AudioWorkletMessagingProxy* AudioWorklet::GetMessagingProxy() { … }
void AudioWorklet::Trace(Visitor* visitor) const { … }
}