chromium/components/value_store/testing_value_store.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/value_store/testing_value_store.h"

#include <memory>
#include <ostream>
#include <utility>

#include "base/notreached.h"

namespace value_store {

namespace {

const char kGenericErrorMessage[] =;

// Having this utility function allows ValueStore::Status to not have a copy
// constructor.
ValueStore::Status CreateStatusCopy(const ValueStore::Status& status) {}

}  // namespace

TestingValueStore::TestingValueStore() = default;
TestingValueStore::~TestingValueStore() = default;

void TestingValueStore::set_status_code(StatusCode status_code) {}

size_t TestingValueStore::GetBytesInUse(const std::string& key) {}

size_t TestingValueStore::GetBytesInUse(const std::vector<std::string>& keys) {}

size_t TestingValueStore::GetBytesInUse() {}

ValueStore::ReadResult TestingValueStore::Get(const std::string& key) {}

ValueStore::ReadResult TestingValueStore::Get(
    const std::vector<std::string>& keys) {}

ValueStore::ReadResult TestingValueStore::Get() {}

ValueStore::WriteResult TestingValueStore::Set(WriteOptions options,
                                               const std::string& key,
                                               const base::Value& value) {}

ValueStore::WriteResult TestingValueStore::Set(
    WriteOptions options,
    const base::Value::Dict& settings) {}

ValueStore::WriteResult TestingValueStore::Remove(const std::string& key) {}

ValueStore::WriteResult TestingValueStore::Remove(
    const std::vector<std::string>& keys) {}

ValueStore::WriteResult TestingValueStore::Clear() {}

}  // namespace value_store