#include "components/metrics/single_sample_metrics.h"
#include <memory>
#include <utility>
#include "base/metrics/single_sample_metrics.h"
#include "base/threading/thread_checker.h"
#include "components/metrics/single_sample_metrics_factory_impl.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
namespace metrics {
namespace {
class MojoSingleSampleMetric : public mojom::SingleSampleMetric { … };
class MojoSingleSampleMetricsProvider
: public mojom::SingleSampleMetricsProvider { … };
}
void InitializeSingleSampleMetricsFactory(CreateProviderCB create_provider_cb) { … }
void CreateSingleSampleMetricsProvider(
mojo::PendingReceiver<mojom::SingleSampleMetricsProvider> receiver) { … }
}