chromium/out/Default/gen/extensions/common/api/system_cpu.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
//   extensions/common/api/system_cpu.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "extensions/common/api/system_cpu.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"

UTF8ToUTF16;

namespace extensions {
namespace api {
namespace system_cpu {
//
// Types
//

CpuTime::CpuTime()
:{}

CpuTime::~CpuTime() = default;
CpuTime::CpuTime(CpuTime&& rhs) noexcept = default;
CpuTime& CpuTime::operator=(CpuTime&& rhs) noexcept = default;
CpuTime CpuTime::Clone() const {}

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

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

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

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

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


ProcessorInfo::ProcessorInfo()
 {}

ProcessorInfo::~ProcessorInfo() = default;
ProcessorInfo::ProcessorInfo(ProcessorInfo&& rhs) noexcept = default;
ProcessorInfo& ProcessorInfo::operator=(ProcessorInfo&& rhs) noexcept = default;
ProcessorInfo ProcessorInfo::Clone() const {}

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

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

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

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

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


CpuInfo::CpuInfo()
:{}

CpuInfo::~CpuInfo() = default;
CpuInfo::CpuInfo(CpuInfo&& rhs) noexcept = default;
CpuInfo& CpuInfo::operator=(CpuInfo&& rhs) noexcept = default;
CpuInfo CpuInfo::Clone() const {}

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

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

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

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

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



//
// Functions
//

namespace GetInfo {

base::Value::List Results::Create(const CpuInfo& info) {}
}  // namespace GetInfo

}  // namespace system_cpu
}  // namespace api
}  // namespace extensions