chromium/storage/browser/file_system/memory_file_stream_writer.cc

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

#include "storage/browser/file_system/memory_file_stream_writer.h"

#include <memory>
#include <utility>

#include "base/memory/ptr_util.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

namespace storage {

MemoryFileStreamWriter::MemoryFileStreamWriter(
    scoped_refptr<base::TaskRunner> task_runner,
    base::WeakPtr<ObfuscatedFileUtilMemoryDelegate> memory_file_util,
    const base::FilePath& file_path,
    int64_t initial_offset)
    :{}

MemoryFileStreamWriter::~MemoryFileStreamWriter() = default;

int MemoryFileStreamWriter::Write(net::IOBuffer* buf,
                                  int buf_len,
                                  net::CompletionOnceCallback callback) {}

void MemoryFileStreamWriter::OnWriteCompleted(
    net::CompletionOnceCallback callback,
    int result) {}

int MemoryFileStreamWriter::Cancel(net::CompletionOnceCallback callback) {}

int MemoryFileStreamWriter::Flush(FlushMode /*flush_mode*/,
                                  net::CompletionOnceCallback /*callback*/) {}

bool MemoryFileStreamWriter::CancelIfRequested() {}

}  // namespace storage