#include "extensions/common/api/system_network.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_network {
NetworkInterface::NetworkInterface()
: … { … }
NetworkInterface::~NetworkInterface() = default;
NetworkInterface::NetworkInterface(NetworkInterface&& rhs) noexcept = default;
NetworkInterface& NetworkInterface::operator=(NetworkInterface&& rhs) noexcept = default;
NetworkInterface NetworkInterface::Clone() const { … }
bool NetworkInterface::Populate(
const base::Value::Dict& dict, NetworkInterface& out) { … }
bool NetworkInterface::Populate(
const base::Value& value, NetworkInterface& out) { … }
std::optional<NetworkInterface> NetworkInterface::FromValue(const base::Value::Dict& value) { … }
std::optional<NetworkInterface> NetworkInterface::FromValue(const base::Value& value) { … }
base::Value::Dict NetworkInterface::ToValue() const { … }
namespace GetNetworkInterfaces {
base::Value::List Results::Create(const std::vector<NetworkInterface>& network_interfaces) { … }
}
}
}
}