chromium/components/leveldb_proto/internal/proto_leveldb_wrapper_metrics.h

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

#ifndef COMPONENTS_LEVELDB_PROTO_INTERNAL_PROTO_LEVELDB_WRAPPER_METRICS_H_
#define COMPONENTS_LEVELDB_PROTO_INTERNAL_PROTO_LEVELDB_WRAPPER_METRICS_H_

#include <string>

namespace leveldb {
class Status;
}  // namespace leveldb

namespace leveldb_proto {

// Static metrics recording helper functions for ProtoLevelDBWrapper.
//
// When adding database clients that require UMA metrics recording, ensure that
// the client name is added as a LevelDBClient variant in
// //tools/metrics/histograms/metadata/leveldb_proto/histograms.xml for the
// appropriate ProtoDB.* metrics.
class ProtoLevelDBWrapperMetrics {};

}  // namespace leveldb_proto

#endif  // COMPONENTS_LEVELDB_PROTO_INTERNAL_PROTO_LEVELDB_WRAPPER_METRICS_H_