chromium/out/Default/gen/chrome/common/extensions/api/chrome_url_overrides.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// GENERATED FROM THE API DEFINITION IN
//   chrome/common/extensions/api/chrome_url_overrides.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#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 {
//
// Types
//

UrlOverrideInfo::UrlOverrideInfo()
 {}

UrlOverrideInfo::~UrlOverrideInfo() = default;
UrlOverrideInfo::UrlOverrideInfo(UrlOverrideInfo&& rhs) noexcept = default;
UrlOverrideInfo& UrlOverrideInfo::operator=(UrlOverrideInfo&& rhs) noexcept = default;
// static
constexpr char UrlOverrideInfo::kNewtab[];
// static
constexpr char UrlOverrideInfo::kBookmarks[];
// static
constexpr char UrlOverrideInfo::kHistory[];
// static
constexpr char UrlOverrideInfo::kActivationmessage[];
// static
constexpr char UrlOverrideInfo::kKeyboard[];

UrlOverrideInfo UrlOverrideInfo::Clone() const {}

// static
bool UrlOverrideInfo::Populate(
    const base::Value::Dict& dict, UrlOverrideInfo& out) {}

// static
bool UrlOverrideInfo::Populate(
    const base::Value& value, UrlOverrideInfo& out) {}

// static
std::optional<UrlOverrideInfo> UrlOverrideInfo::FromValue(const base::Value::Dict& value) {}

// static
std::optional<UrlOverrideInfo> UrlOverrideInfo::FromValue(const base::Value& value) {}

base::Value::Dict UrlOverrideInfo::ToValue() const {}

//static
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) {}



//
// Manifest Keys
//

ManifestKeys::ManifestKeys()
 {}

ManifestKeys::~ManifestKeys() = default;
ManifestKeys::ManifestKeys(ManifestKeys&& rhs) noexcept = default;
ManifestKeys& ManifestKeys::operator=(ManifestKeys&& rhs) noexcept = default;
// static
constexpr char ManifestKeys::kChromeUrlOverrides[];

//static
bool ManifestKeys::ParseFromDictionary(
const base::Value::Dict& root_dict, ManifestKeys& out, std::u16string& error) {}


}  // namespace chrome_url_overrides
}  // namespace api
}  // namespace extensions