Lines Matching refs:FileStream
5 // This file defines FileStream, a basic interface for reading and writing files
26 class NET_EXPORT FileStream {
28 // Creates a FileStream.
30 explicit FileStream(const scoped_refptr<base::TaskRunner>& task_runner);
32 // Construct a FileStream with an existing valid |file|.
34 FileStream(base::File file,
38 virtual ~FileStream();
40 // Call this method to open the FileStream asynchronously. The remaining
50 // automatically closed when FileStream is destructed in an asynchronous
150 // to perform asynchronous operations because FileStream can be destroyed
151 // before completion of an async operation. Also if a FileStream is destroyed
153 // without delaying FileStream's destructor.
156 DISALLOW_COPY_AND_ASSIGN(FileStream);