#include "components/content_settings/core/common/content_settings_metadata.h"
#include <stddef.h>
#include <tuple>
#include "base/time/clock.h"
#include "base/time/time.h"
#include "components/content_settings/core/common/content_settings_constraints.h"
namespace content_settings {
RuleMetaData::RuleMetaData() = default;
RuleMetaData::RuleMetaData(const RuleMetaData& other) = default;
void RuleMetaData::SetFromConstraints(
const ContentSettingConstraints& constraints) { … }
void RuleMetaData::SetExpirationAndLifetime(base::Time expiration,
base::TimeDelta lifetime) { … }
bool RuleMetaData::IsExpired(base::Clock* clock) const { … }
RuleMetaData& RuleMetaData::operator=(const RuleMetaData& other) = default;
bool RuleMetaData::operator==(const RuleMetaData& other) const = default;
base::TimeDelta RuleMetaData::ComputeLifetime(base::TimeDelta lifetime,
base::Time expiration) { … }
}