chromium/third_party/blink/common/permissions_policy/policy_value.cc

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

#include "third_party/blink/public/common/permissions_policy/policy_value.h"

#include "third_party/blink/public/mojom/permissions_policy/policy_value.mojom.h"

namespace blink {

PolicyValue::PolicyValue() :{}

PolicyValue::PolicyValue(const PolicyValue&) = default;

PolicyValue& PolicyValue::operator=(const PolicyValue&) = default;

// static
PolicyValue PolicyValue::CreateBool(bool value) {}

// static
PolicyValue PolicyValue::CreateDecDouble(double value) {}

// static
PolicyValue PolicyValue::CreateEnum(int32_t value) {}

PolicyValue::PolicyValue(bool bool_value)
    :{}

PolicyValue::PolicyValue(double double_value, mojom::PolicyValueType type)
    :{}

PolicyValue::PolicyValue(int32_t int_value, mojom::PolicyValueType type)
    :{}

PolicyValue PolicyValue::CreateMaxPolicyValue(mojom::PolicyValueType type) {}

PolicyValue PolicyValue::CreateMinPolicyValue(mojom::PolicyValueType type) {}

bool PolicyValue::BoolValue() const {}

double PolicyValue::DoubleValue() const {}

int32_t PolicyValue::IntValue() const {}

void PolicyValue::SetBoolValue(bool bool_value) {}

void PolicyValue::SetDoubleValue(double double_value) {}

void PolicyValue::SetIntValue(int32_t int_value) {}

bool operator==(const PolicyValue& lhs, const PolicyValue& rhs) {}

bool operator!=(const PolicyValue& lhs, const PolicyValue& rhs) {}

bool PolicyValue::IsCompatibleWith(const PolicyValue& required) const {}

void PolicyValue::SetToMax() {}

void PolicyValue::SetToMin() {}

}  // namespace blink