chromium/base/metrics/dummy_histogram.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/dummy_histogram.h"

#include <memory>

#include "base/metrics/histogram_samples.h"
#include "base/metrics/metrics_hashes.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "base/values.h"

namespace base {

namespace {

// Helper classes for DummyHistogram.
class DummySampleCountIterator : public SampleCountIterator {};

class DummyHistogramSamples : public HistogramSamples {};

}  // namespace

// static
DummyHistogram* DummyHistogram::GetInstance() {}

uint64_t DummyHistogram::name_hash() const {}

HistogramType DummyHistogram::GetHistogramType() const {}

bool DummyHistogram::HasConstructionArguments(
    Sample expected_minimum,
    Sample expected_maximum,
    size_t expected_bucket_count) const {}

bool DummyHistogram::AddSamplesFromPickle(PickleIterator* iter) {}

std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotSamples() const {}

std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotUnloggedSamples()
    const {}

std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotDelta() {}

std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotFinalDelta() const {}

Value::Dict DummyHistogram::ToGraphDict() const {}

Value::Dict DummyHistogram::GetParameters() const {}

}  // namespace base