chromium/extensions/common/manifest_handlers/extension_action_handler.cc

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

#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"

// Adds `extensions::InstallWarning`s to `warnings` if the`default_popup` value
// for the action doesn't exist in the filesystem.
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 {}

}  // namespace extensions