chromium/base/metrics/single_sample_metrics.cc

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

#include "base/metrics/single_sample_metrics.h"

#include "base/memory/ptr_util.h"
#include "base/metrics/histogram.h"

namespace base {

static SingleSampleMetricsFactory* g_factory =;

// static
SingleSampleMetricsFactory* SingleSampleMetricsFactory::Get() {}

// static
void SingleSampleMetricsFactory::SetFactory(
    std::unique_ptr<SingleSampleMetricsFactory> factory) {}

// static
void SingleSampleMetricsFactory::DeleteFactoryForTesting() {}

std::unique_ptr<SingleSampleMetric>
DefaultSingleSampleMetricsFactory::CreateCustomCountsMetric(
    const std::string& histogram_name,
    HistogramBase::Sample min,
    HistogramBase::Sample max,
    uint32_t bucket_count) {}

DefaultSingleSampleMetric::DefaultSingleSampleMetric(
    const std::string& histogram_name,
    HistogramBase::Sample min,
    HistogramBase::Sample max,
    uint32_t bucket_count,
    int32_t flags)
    :{}

DefaultSingleSampleMetric::~DefaultSingleSampleMetric() {}

void DefaultSingleSampleMetric::SetSample(HistogramBase::Sample sample) {}

}  // namespace base