// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file defines FileStream, a basic interface for reading and writing files // synchronously or asynchronously with support for seeking to an offset. // Note that even when used asynchronously, only one operation is supported at // a time. #ifndef NET_BASE_FILE_STREAM_H_ #define NET_BASE_FILE_STREAM_H_ #include <stdint.h> #include <memory> #include "base/files/file.h" #include "build/build_config.h" #include "net/base/completion_once_callback.h" #include "net/base/net_export.h" namespace base { class FilePath; class TaskRunner; } namespace net { class IOBuffer; class NET_EXPORT FileStream { … }; } // namespace net #endif // NET_BASE_FILE_STREAM_H_