chromium/components/value_store/leveldb_value_store.h

// 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.

#ifndef COMPONENTS_VALUE_STORE_LEVELDB_VALUE_STORE_H_
#define COMPONENTS_VALUE_STORE_LEVELDB_VALUE_STORE_H_

#include <stddef.h>

#include <memory>
#include <string>
#include <vector>

#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/trace_event/memory_dump_provider.h"
#include "components/value_store/lazy_leveldb.h"
#include "components/value_store/value_store.h"
#include "third_party/leveldatabase/src/include/leveldb/db.h"

namespace value_store {

// Value store area, backed by a leveldb database.
// All methods must be run on the FILE thread.
class LeveldbValueStore : public ValueStore,
                          public LazyLevelDb,
                          public base::trace_event::MemoryDumpProvider {};

}  // namespace value_store

#endif  // COMPONENTS_VALUE_STORE_LEVELDB_VALUE_STORE_H_