chromium/third_party/puffin/src/file_stream.cc

// Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "puffin/file_stream.h"

#include <fcntl.h>

#include <algorithm>
#include <cstdint>
#include <utility>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/numerics/safe_conversions.h"
#include "puffin/src/include/puffin/common.h"
#include "puffin/src/logging.h"

string;

namespace puffin {

UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) {}

UniqueStreamPtr FileStream::CreateStreamFromFile(base::File file) {}

bool FileStream::GetSize(uint64_t* size) {}

bool FileStream::GetOffset(uint64_t* offset) {}

bool FileStream::Seek(uint64_t u_offset) {}

bool FileStream::Read(void* buffer, size_t length) {}

bool FileStream::Write(const void* buffer, size_t length) {}

bool FileStream::Close() {}

}  // namespace puffin