// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_HEAP_TEST_PLATFORM_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_HEAP_TEST_PLATFORM_H_ #include <memory> #include "v8/include/v8-platform.h" namespace blink { // Tests do not require that tasks can actually run, just that they can posted. class HeapTestingMockTaskRunner final : public v8::TaskRunner { … }; class HeapTestingPlatformAdapter final : public v8::Platform { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_HEAP_TEST_PLATFORM_H_