chromium/third_party/leveldatabase/src/db/log_reader.cc

// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include "db/log_reader.h"

#include <cstdio>

#include "leveldb/env.h"
#include "util/coding.h"
#include "util/crc32c.h"

namespace leveldb {
namespace log {

Reader::Reporter::~Reporter() = default;

Reader::Reader(SequentialFile* file, Reporter* reporter, bool checksum,
               uint64_t initial_offset)
    :{}

Reader::~Reader() {}

bool Reader::SkipToInitialBlock() {}

bool Reader::ReadRecord(Slice* record, std::string* scratch) {}

uint64_t Reader::LastRecordOffset() {}

void Reader::ReportCorruption(uint64_t bytes, const char* reason) {}

void Reader::ReportDrop(uint64_t bytes, const Status& reason) {}

unsigned int Reader::ReadPhysicalRecord(Slice* result) {}

}  // namespace log
}  // namespace leveldb