#include "components/device_signals/core/browser/base_signals_collector.h"
#include <unordered_set>
#include <utility>
#include "base/functional/callback.h"
#include "components/device_signals/core/browser/signals_types.h"
namespace device_signals {
BaseSignalsCollector::BaseSignalsCollector(
const std::unordered_map<const SignalName, GetSignalCallback>
signals_collection_map)
: … { … }
BaseSignalsCollector::~BaseSignalsCollector() = default;
bool BaseSignalsCollector::IsSignalSupported(SignalName signal_name) { … }
const std::unordered_set<SignalName>
BaseSignalsCollector::GetSupportedSignalNames() { … }
void BaseSignalsCollector::GetSignal(SignalName signal_name,
const SignalsAggregationRequest& request,
SignalsAggregationResponse& response,
base::OnceClosure done_closure) { … }
}