#include "chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/values.h"
#include "chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/metrics_utils.h"
#include "components/device_signals/core/common/signals_constants.h"
#include "components/policy/core/common/cloud/cloud_policy_util.h"
#include "components/version_info/version_info.h"
namespace enterprise_connectors {
namespace {
constexpr char kLatencyHistogramVariant[] = …;
constexpr char kLatencyHistogramWithCacheVariant[] = …;
}
CommonSignalsDecorator::CommonSignalsDecorator() = default;
CommonSignalsDecorator::~CommonSignalsDecorator() = default;
void CommonSignalsDecorator::Decorate(base::Value::Dict& signals,
base::OnceClosure done_closure) { … }
void CommonSignalsDecorator::OnHardwareInfoRetrieved(
base::Value::Dict& signals,
base::TimeTicks start_time,
base::OnceClosure done_closure,
base::SysInfo::HardwareInfo hardware_info) { … }
void CommonSignalsDecorator::UpdateFromCache(base::Value::Dict& signals) { … }
}