class FileWriter
Defined at line 118 of file ../../third_party/crashpad/src/util/file/file_writer.h
A file writer implementation that wraps traditional system file
operations on files accessed through the filesystem.
Public Methods
void FileWriter ()
void FileWriter (const FileWriter & )
Defined at line 122 of file ../../third_party/crashpad/src/util/file/file_writer.h
FileWriter & operator= (const FileWriter & )
Defined at line 123 of file ../../third_party/crashpad/src/util/file/file_writer.h
void ~FileWriter ()
bool Open (const base::FilePath & path, FileWriteMode write_mode, FilePermissions permissions)
Wraps LoggingOpenFileForWrite().
Returns
`true` if the operation succeeded, `false` if it failed, with an
error message logged.
void Close ()
Wraps CheckedCloseHandle().
bool Write (const void * data, size_t size)
bool WriteIoVec (std::vector<WritableIoVec> * iovecs)
FileOffset Seek (FileOffset offset, int whence)