// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDING_TEST_H_ #define EXTENSIONS_RENDERER_BINDINGS_API_BINDING_TEST_H_ #include <memory> #include <vector> #include "base/test/task_environment.h" #include "extensions/renderer/bindings/test_js_runner.h" #include "testing/gtest/include/gtest/gtest.h" #include "v8/include/v8.h" namespace gin { class ContextHolder; class IsolateHolder; } namespace extensions { // A common unit test class for testing API bindings. Creates an isolate and an // initial v8 context, and checks for v8 leaks at the end of the test. class APIBindingTest : public testing::Test { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDING_TEST_H_