// Copyright 2017 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_JS_UTIL_H_ #define EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ #include <string> #include "base/memory/raw_ptr.h" #include "gin/wrappable.h" #include "v8/include/v8.h" namespace gin { class Arguments; } namespace extensions { class APIEventHandler; class APIRequestHandler; class APITypeReferenceMap; class ExceptionHandler; // An object that exposes utility methods to the existing JS bindings, such as // sendRequest and registering event argument massagers. If/when we get rid of // some of our JS bindings, we can reduce or remove this class. class APIBindingJSUtil final : public gin::Wrappable<APIBindingJSUtil> { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_