// Copyright 2013 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_BROWSER_API_EXECUTE_CODE_FUNCTION_H_ #define EXTENSIONS_BROWSER_API_EXECUTE_CODE_FUNCTION_H_ #include <memory> #include <optional> #include <string> #include <vector> #include "extensions/browser/extension_function.h" #include "extensions/browser/script_executor.h" #include "extensions/common/api/extension_types.h" #include "extensions/common/mojom/host_id.mojom.h" namespace extensions { // Base class for javascript code injection. // This is used by both chrome.webview.executeScript and // chrome.tabs.executeScript. class ExecuteCodeFunction : public ExtensionFunction { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_API_EXECUTE_CODE_FUNCTION_H_