blob: 63b4740c9379cb8e8f23c827ff1e67a923dc3cff [file]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef AudioWorkletMessagingProxy_h
#define AudioWorkletMessagingProxy_h
#include "core/workers/ThreadedWorkletMessagingProxy.h"
#include "wtf/Allocator.h"
#include <memory>
namespace blink {
class ExecutionContext;
class WorkerThread;
class AudioWorkletMessagingProxy final : public ThreadedWorkletMessagingProxy {
USING_FAST_MALLOC(AudioWorkletMessagingProxy);
public:
explicit AudioWorkletMessagingProxy(ExecutionContext*);
protected:
~AudioWorkletMessagingProxy() override;
std::unique_ptr<WorkerThread> createWorkerThread(double originTime) override;
};
} // namespace blink
#endif // AudioWorkletMessagingProxy_h