#include "components/value_store/value_store_factory_impl.h"
#include <memory>
#include <string>
#include "base/files/file_util.h"
#include "components/value_store/leveldb_value_store.h"
namespace value_store {
ValueStoreFactoryImpl::ValueStoreFactoryImpl(const base::FilePath& profile_path)
: … { … }
ValueStoreFactoryImpl::~ValueStoreFactoryImpl() = default;
base::FilePath ValueStoreFactoryImpl::GetDBPath(
const base::FilePath& directory) const { … }
std::unique_ptr<ValueStore> ValueStoreFactoryImpl::CreateValueStore(
const base::FilePath& directory,
const std::string& uma_client_name) { … }
void ValueStoreFactoryImpl::DeleteValueStore(const base::FilePath& directory) { … }
bool ValueStoreFactoryImpl::HasValueStore(const base::FilePath& directory) { … }
}