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