chromium/components/services/storage/indexed_db/transactional_leveldb/transactional_leveldb_iterator.cc

// Copyright 2017 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/services/storage/indexed_db/transactional_leveldb/transactional_leveldb_iterator.h"

#include <utility>

#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "components/services/storage/indexed_db/scopes/leveldb_scope.h"
#include "components/services/storage/indexed_db/scopes/leveldb_scopes.h"
#include "components/services/storage/indexed_db/transactional_leveldb/transactional_leveldb_database.h"
#include "components/services/storage/indexed_db/transactional_leveldb/transactional_leveldb_transaction.h"
#include "third_party/leveldatabase/env_chromium.h"
#include "third_party/leveldatabase/src/include/leveldb/comparator.h"
#include "third_party/leveldatabase/src/include/leveldb/db.h"
#include "third_party/leveldatabase/src/include/leveldb/iterator.h"

namespace content {

TransactionalLevelDBIterator::TransactionalLevelDBIterator(
    std::unique_ptr<leveldb::Iterator> it,
    base::WeakPtr<TransactionalLevelDBDatabase> db,
    base::WeakPtr<TransactionalLevelDBTransaction> txn,
    std::unique_ptr<LevelDBSnapshot> snapshot)
    :{}

TransactionalLevelDBIterator::~TransactionalLevelDBIterator() {}

leveldb::Status TransactionalLevelDBIterator::WrappedIteratorStatus() {}

bool TransactionalLevelDBIterator::IsValid() const {}

leveldb::Status TransactionalLevelDBIterator::SeekToLast() {}

leveldb::Status TransactionalLevelDBIterator::Seek(std::string_view target) {}

leveldb::Status TransactionalLevelDBIterator::Next() {}

leveldb::Status TransactionalLevelDBIterator::Prev() {}

std::string_view TransactionalLevelDBIterator::Key() const {}

std::string_view TransactionalLevelDBIterator::Value() const {}

void TransactionalLevelDBIterator::EvictLevelDBIterator() {}

std::tuple<std::string, leveldb::Status>
TransactionalLevelDBIterator::WillUseDBIterator(bool perform_seek) {}

leveldb::Status TransactionalLevelDBIterator::ReloadIterator() {}

void TransactionalLevelDBIterator::NextPastScopesMetadata() {}

void TransactionalLevelDBIterator::PrevPastScopesMetadata() {}

void TransactionalLevelDBIterator::CheckState() const {}

}  // namespace content