#include "extensions/common/manifest_handlers/automation.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "extensions/common/api/extensions_manifest_types.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/extensions_client.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/permissions/api_permission_set.h"
#include "extensions/common/permissions/manifest_permission.h"
#include "extensions/common/permissions/permission_message_util.h"
#include "extensions/common/permissions/permissions_data.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_message_utils.h"
APIPermissionID;
namespace extensions {
errors;
keys;
Automation;
class AutomationManifestPermission : public ManifestPermission { … };
std::string AutomationManifestPermission::name() const { … }
std::string AutomationManifestPermission::id() const { … }
PermissionIDSet AutomationManifestPermission::GetPermissions() const { … }
bool AutomationManifestPermission::FromValue(const base::Value* value) { … }
std::unique_ptr<base::Value> AutomationManifestPermission::ToValue() const { … }
std::unique_ptr<ManifestPermission> AutomationManifestPermission::Diff(
const ManifestPermission* rhs) const { … }
std::unique_ptr<ManifestPermission> AutomationManifestPermission::Union(
const ManifestPermission* rhs) const { … }
std::unique_ptr<ManifestPermission> AutomationManifestPermission::Intersect(
const ManifestPermission* rhs) const { … }
bool AutomationManifestPermission::RequiresManagementUIWarning() const { … }
AutomationHandler::AutomationHandler() = default;
AutomationHandler::~AutomationHandler() = default;
bool AutomationHandler::Parse(Extension* extension, std::u16string* error) { … }
base::span<const char* const> AutomationHandler::Keys() const { … }
ManifestPermission* AutomationHandler::CreatePermission() { … }
ManifestPermission* AutomationHandler::CreateInitialRequiredPermission(
const Extension* extension) { … }
const AutomationInfo* AutomationInfo::Get(const Extension* extension) { … }
std::unique_ptr<AutomationInfo> AutomationInfo::FromValue(
const base::Value& value,
std::vector<InstallWarning>* install_warnings,
std::u16string* error) { … }
std::unique_ptr<base::Value> AutomationInfo::ToValue(
const AutomationInfo& info) { … }
std::unique_ptr<Automation> AutomationInfo::AsManifestType(
const AutomationInfo& info) { … }
AutomationInfo::AutomationInfo() : … { … }
AutomationInfo::AutomationInfo(bool desktop) : … { … }
AutomationInfo::~AutomationInfo() = default;
}