#include "components/value_store/value_store.h"
#include <utility>
#include "base/check.h"
namespace value_store {
ValueStore::Status::Status() = default;
ValueStore::Status::Status(StatusCode code, const std::string& message)
: … { … }
ValueStore::Status::Status(StatusCode code,
BackingStoreRestoreStatus restore_status,
const std::string& message)
: … { … }
ValueStore::Status::Status(Status&& other) = default;
ValueStore::Status::~Status() = default;
ValueStore::Status& ValueStore::Status::operator=(Status&& rhs) = default;
void ValueStore::Status::Merge(const Status& status) { … }
ValueStore::ReadResult::ReadResult(base::Value::Dict settings, Status status)
: … { … }
ValueStore::ReadResult::ReadResult(Status status)
: … { … }
ValueStore::ReadResult::ReadResult(ReadResult&& other) = default;
ValueStore::ReadResult::~ReadResult() = default;
ValueStore::ReadResult& ValueStore::ReadResult::operator=(ReadResult&& rhs) =
default;
ValueStore::WriteResult::WriteResult(ValueStoreChangeList changes,
Status status)
: … { … }
ValueStore::WriteResult::WriteResult(Status status)
: … { … }
ValueStore::WriteResult::WriteResult(WriteResult&& other) = default;
ValueStore::WriteResult::~WriteResult() = default;
ValueStore::WriteResult& ValueStore::WriteResult::operator=(WriteResult&& rhs) =
default;
}