chromium/third_party/blink/renderer/modules/webaudio/semi_realtime_audio_worklet_thread.cc

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

#include "third_party/blink/renderer/modules/webaudio/semi_realtime_audio_worklet_thread.h"

#include "base/feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/workers/global_scope_creation_params.h"
#include "third_party/blink/renderer/modules/webaudio/audio_worklet_global_scope.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"

namespace blink {

namespace {

// Use for ref-counting of all SemiRealtimeAudioWorkletThread instances in a
// process. Incremented by the constructor and decremented by destructor.
int ref_count =;

void EnsureSharedBackingThread(const ThreadCreationParams& params) {}

}  // namespace

template class WorkletThreadHolder<SemiRealtimeAudioWorkletThread>;

SemiRealtimeAudioWorkletThread::SemiRealtimeAudioWorkletThread(
    WorkerReportingProxy& worker_reporting_proxy)
    :{}

SemiRealtimeAudioWorkletThread::~SemiRealtimeAudioWorkletThread() {}

WorkerBackingThread& SemiRealtimeAudioWorkletThread::GetWorkerBackingThread() {}

void SemiRealtimeAudioWorkletThread::ClearSharedBackingThread() {}

WorkerOrWorkletGlobalScope*
SemiRealtimeAudioWorkletThread::CreateWorkerGlobalScope(
    std::unique_ptr<GlobalScopeCreationParams> creation_params) {}

}  // namespace blink