Home | History | Annotate | Download | only in base

Lines Matching defs:FileStream

5 // This file defines FileStream, a basic interface for reading and writing files
28 class NET_EXPORT FileStream {
30 // Creates a |FileStream| with a new |BoundNetLog| (based on |net_log|)
33 FileStream(net::NetLog* net_log,
37 explicit FileStream(net::NetLog* net_log);
39 // Construct a FileStream with an existing file handle and opening flags.
46 // Note: the new FileStream object takes ownership of the PlatformFile and
48 FileStream(base::PlatformFile file,
54 FileStream(base::PlatformFile file, int flags, net::NetLog* net_log);
57 virtual ~FileStream();
59 // Call this method to open the FileStream asynchronously. The remaining
69 // automatically closed when FileStream is destructed in an asynchronous
75 // Call this method to open the FileStream synchronously.
81 // automatically closed when FileStream is destructed.
243 // to perform asynchronous operations because FileStream can be destroyed
244 // before completion of async operation. Also if async FileStream is destroyed
246 // delaying FileStream's destructor. To perform all that separate object is
250 DISALLOW_COPY_AND_ASSIGN(FileStream);