chromium/extensions/common/permissions/manifest_permission_set.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/permissions/manifest_permission_set.h"

#include <stddef.h>

#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_handler.h"
#include "extensions/common/permissions/manifest_permission.h"

namespace {

ErrorUtils;
ManifestPermission;
ManifestPermissionSet;
ManifestHandler;
errors;

bool CreateManifestPermission(const std::string& permission_name,
                              const base::Value* permission_value,
                              ManifestPermissionSet* manifest_permissions,
                              std::u16string* error,
                              std::vector<std::string>* unhandled_permissions) {}

}  // namespace

namespace extensions {

// static
bool ManifestPermissionSet::ParseFromJSON(
    const base::Value::List& permissions,
    ManifestPermissionSet* manifest_permissions,
    std::u16string* error,
    std::vector<std::string>* unhandled_permissions) {}

}  // namespace extensions