chromium/components/metrics/library_support/histogram_manager.cc

// Copyright 2014 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/metrics/library_support/histogram_manager.h"

#include <string>
#include <vector>

#include "base/lazy_instance.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/histogram_samples.h"
#include "base/metrics/statistics_recorder.h"
#include "base/thread_annotations.h"
#include "components/metrics/histogram_encoder.h"

namespace metrics {

// TODO(rtenneti): move g_histogram_manager into java code.
static base::LazyInstance<HistogramManager>::Leaky g_histogram_manager =;

HistogramManager::HistogramManager() :{}

HistogramManager::~HistogramManager() {}

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

void HistogramManager::RecordDelta(const base::HistogramBase& histogram,
                                   const base::HistogramSamples& snapshot) {}

// TODO(lukasza): https://crbug.com/881903: NO_THREAD_SAFETY_ANALYSIS below can
// be removed once base::Lock::Try is annotated with EXCLUSIVE_TRYLOCK_FUNCTION.
bool HistogramManager::GetDeltas(std::vector<uint8_t>* data)
    NO_THREAD_SAFETY_ANALYSIS {}

}  // namespace metrics