#include "extensions/common/api/declarative/declarative_manifest_data.h"
#include <stddef.h>
#include <string_view>
#include "base/memory/raw_ptr.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/api/declarative/declarative_constants.h"
#include "extensions/common/manifest_constants.h"
namespace extensions {
namespace {
class ErrorBuilder { … };
bool ConvertManifestRule(DeclarativeManifestData::Rule& rule,
ErrorBuilder* error_builder) { … }
}
DeclarativeManifestData::DeclarativeManifestData() { … }
DeclarativeManifestData::~DeclarativeManifestData() { … }
DeclarativeManifestData* DeclarativeManifestData::Get(
const Extension* extension) { … }
std::unique_ptr<DeclarativeManifestData> DeclarativeManifestData::FromValue(
const base::Value& value,
std::u16string* error) { … }
std::vector<DeclarativeManifestData::Rule>
DeclarativeManifestData::RulesForEvent(const std::string& event) { … }
}