#include "chrome/browser/enterprise/connectors/device_trust/signals/signals_service_impl.h"
#include <memory>
#include <utility>
#include "base/barrier_closure.h"
#include "base/check.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 "chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/signals_decorator.h"
#include "chrome/browser/enterprise/connectors/device_trust/signals/signals_filterer.h"
namespace enterprise_connectors {
namespace {
constexpr char kLatencyHistogramVariant[] = …;
}
SignalsServiceImpl::SignalsServiceImpl(
std::vector<std::unique_ptr<SignalsDecorator>> signals_decorators,
std::unique_ptr<SignalsFilterer> signals_filterer)
: … { … }
SignalsServiceImpl::~SignalsServiceImpl() = default;
void SignalsServiceImpl::CollectSignals(CollectSignalsCallback callback) { … }
void SignalsServiceImpl::OnSignalsDecorated(
CollectSignalsCallback callback,
base::TimeTicks start_time,
std::unique_ptr<base::Value::Dict> signals) { … }
}