chromium/chrome/browser/extensions/api/scripting/scripting_api.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_EXTENSIONS_API_SCRIPTING_SCRIPTING_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_SCRIPTING_SCRIPTING_API_H_

#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>

#include "chrome/common/extensions/api/scripting.h"
#include "extensions/browser/extension_function.h"
#include "extensions/browser/script_executor.h"
#include "extensions/browser/scripting_utils.h"
#include "extensions/common/mojom/code_injection.mojom.h"
#include "extensions/common/user_script.h"

namespace extensions {

// A simple helper struct to represent a read file (either CSS or JS) to be
// injected.
struct InjectedFileSource {};

class ScriptingExecuteScriptFunction : public ExtensionFunction {};

class ScriptingInsertCSSFunction : public ExtensionFunction {};

class ScriptingRemoveCSSFunction : public ExtensionFunction {};

class ScriptingRegisterContentScriptsFunction : public ExtensionFunction {};

class ScriptingGetRegisteredContentScriptsFunction : public ExtensionFunction {};

class ScriptingUnregisterContentScriptsFunction : public ExtensionFunction {};

class ScriptingUpdateContentScriptsFunction : public ExtensionFunction {};

}  // namespace extensions

#endif  // CHROME_BROWSER_EXTENSIONS_API_SCRIPTING_SCRIPTING_API_H_