#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 extensions {
bool ManifestPermissionSet::ParseFromJSON(
const base::Value::List& permissions,
ManifestPermissionSet* manifest_permissions,
std::u16string* error,
std::vector<std::string>* unhandled_permissions) { … }
}