#include "extensions/common/manifest_handlers/extension_action_handler.h"
#include <memory>
#include "base/files/file_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/api/extension_action/action_info.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/extension.h"
#include "extensions/common/file_util.h"
#include "extensions/common/image_util.h"
#include "extensions/common/manifest_constants.h"
void SetWarningsForNonExistentDefaultPopup(
const extensions::ActionInfo* action,
const char* manifest_key,
const extensions::Extension* extension,
std::vector<extensions::InstallWarning>* warnings) { … }
namespace extensions {
ExtensionActionHandler::ExtensionActionHandler() = default;
ExtensionActionHandler::~ExtensionActionHandler() = default;
bool ExtensionActionHandler::Parse(Extension* extension,
std::u16string* error) { … }
bool ExtensionActionHandler::Validate(
const Extension* extension,
std::string* error,
std::vector<InstallWarning>* warnings) const { … }
bool ExtensionActionHandler::AlwaysParseForType(Manifest::Type type) const { … }
bool ExtensionActionHandler::AlwaysValidateForType(Manifest::Type type) const { … }
base::span<const char* const> ExtensionActionHandler::Keys() const { … }
}