#include "chrome/common/extensions/api/chrome_url_overrides.h"
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "tools/json_schema_compiler/util.h"
#include "tools/json_schema_compiler/manifest_parse_util.h"
#include <string_view>
UTF8ToUTF16;
namespace extensions {
namespace api {
namespace chrome_url_overrides {
UrlOverrideInfo::UrlOverrideInfo()
{ … }
UrlOverrideInfo::~UrlOverrideInfo() = default;
UrlOverrideInfo::UrlOverrideInfo(UrlOverrideInfo&& rhs) noexcept = default;
UrlOverrideInfo& UrlOverrideInfo::operator=(UrlOverrideInfo&& rhs) noexcept = default;
constexpr char UrlOverrideInfo::kNewtab[];
constexpr char UrlOverrideInfo::kBookmarks[];
constexpr char UrlOverrideInfo::kHistory[];
constexpr char UrlOverrideInfo::kActivationmessage[];
constexpr char UrlOverrideInfo::kKeyboard[];
UrlOverrideInfo UrlOverrideInfo::Clone() const { … }
bool UrlOverrideInfo::Populate(
const base::Value::Dict& dict, UrlOverrideInfo& out) { … }
bool UrlOverrideInfo::Populate(
const base::Value& value, UrlOverrideInfo& out) { … }
std::optional<UrlOverrideInfo> UrlOverrideInfo::FromValue(const base::Value::Dict& value) { … }
std::optional<UrlOverrideInfo> UrlOverrideInfo::FromValue(const base::Value& value) { … }
base::Value::Dict UrlOverrideInfo::ToValue() const { … }
bool UrlOverrideInfo::ParseFromDictionary(
const base::Value::Dict& root_dict, std::string_view key, UrlOverrideInfo& out, std::u16string& error, std::vector<std::string_view>& error_path_reversed) { … }
ManifestKeys::ManifestKeys()
{ … }
ManifestKeys::~ManifestKeys() = default;
ManifestKeys::ManifestKeys(ManifestKeys&& rhs) noexcept = default;
ManifestKeys& ManifestKeys::operator=(ManifestKeys&& rhs) noexcept = default;
constexpr char ManifestKeys::kChromeUrlOverrides[];
bool ManifestKeys::ParseFromDictionary(
const base::Value::Dict& root_dict, ManifestKeys& out, std::u16string& error) { … }
}
}
}