chromium/components/reporting/metrics/manual_collector.cc

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

#include "components/reporting/metrics/manual_collector.h"

#include <memory>
#include <string>
#include <utility>

#include "base/metrics/histogram_functions.h"
#include "components/reporting/metrics/collector_base.h"
#include "components/reporting/metrics/metric_report_queue.h"
#include "components/reporting/metrics/metric_reporting_controller.h"
#include "components/reporting/metrics/reporting_settings.h"
#include "components/reporting/metrics/sampler.h"
#include "components/reporting/proto/synced/record_constants.pb.h"

namespace reporting {

ManualCollector::ManualCollector(Sampler* sampler,
                                 MetricReportQueue* metric_report_queue,
                                 ReportingSettings* reporting_settings,
                                 const std::string& setting_path,
                                 bool setting_enabled_default_value)
    :{}

ManualCollector::~ManualCollector() = default;

bool ManualCollector::CanCollect() const {}

void ManualCollector::OnMetricDataCollected(
    bool is_event_driven,
    std::optional<MetricData> metric_data) {}
}  // namespace reporting