chromium/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.cc

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

#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[] =;

}  // namespace

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) {}

}  // namespace enterprise_connectors