| Index: third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h b/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0329ee87488174059a4d1ae05bdfce2da8806c74
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2017 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.
|
| +
|
| +#include "core/dom/Modulator.h"
|
| +#include "core/workers/WorkletPendingTasks.h"
|
| +#include "platform/heap/GarbageCollected.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class ModuleScript;
|
| +
|
| +class WorkletModuleTreeClient final
|
| + : public GarbageCollectedFinalized<WorkletModuleTreeClient>,
|
| + public ModuleTreeClient {
|
| + USING_GARBAGE_COLLECTED_MIXIN(WorkletModuleTreeClient);
|
| +
|
| + public:
|
| + WorkletModuleTreeClient(Modulator*, WorkletPendingTasks*);
|
| +
|
| + // Implements ModuleTreeClient.
|
| + void NotifyModuleTreeLoadFinished(ModuleScript*) final;
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + private:
|
| + Member<Modulator> modulator_;
|
| + Member<WorkletPendingTasks> pending_tasks_;
|
| +};
|
| +
|
| +} // namespace blink
|
|
|