chromium/extensions/common/manifest_handler.cc

// 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.

#include "extensions/common/manifest_handler.h"

#include <stddef.h>

#include <map>
#include <vector>

#include "base/check.h"
#include "base/containers/contains.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handler_registry.h"
#include "extensions/common/permissions/manifest_permission.h"
#include "extensions/common/permissions/manifest_permission_set.h"

namespace extensions {

ManifestHandler::ManifestHandler() = default;

ManifestHandler::~ManifestHandler() = default;

bool ManifestHandler::Validate(const Extension* extension,
                               std::string* error,
                               std::vector<InstallWarning>* warnings) const {}

bool ManifestHandler::AlwaysParseForType(Manifest::Type type) const {}

bool ManifestHandler::AlwaysValidateForType(Manifest::Type type) const {}

const std::vector<std::string> ManifestHandler::PrerequisiteKeys() const {}

ManifestPermission* ManifestHandler::CreatePermission() {}

ManifestPermission* ManifestHandler::CreateInitialRequiredPermission(
    const Extension* extension) {}

// static
void ManifestHandler::FinalizeRegistration() {}

// static
bool ManifestHandler::IsRegistrationFinalized() {}

// static
bool ManifestHandler::ParseExtension(Extension* extension,
                                     std::u16string* error) {}

// static
bool ManifestHandler::ValidateExtension(const Extension* extension,
                                        std::string* error,
                                        std::vector<InstallWarning>* warnings) {}

// static
ManifestPermission* ManifestHandler::CreatePermission(const std::string& name) {}

// static
void ManifestHandler::AddExtensionInitialRequiredPermissions(
    const Extension* extension, ManifestPermissionSet* permission_set) {}

// static
const std::vector<std::string> ManifestHandler::SingleKey(
    const std::string& key) {}

}  // namespace extensions