diff options
Diffstat (limited to 'components/filesystem/public/interfaces/file.mojom')
-rw-r--r-- | components/filesystem/public/interfaces/file.mojom | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/filesystem/public/interfaces/file.mojom b/components/filesystem/public/interfaces/file.mojom index 306b9f7..d64c0f1 100644 --- a/components/filesystem/public/interfaces/file.mojom +++ b/components/filesystem/public/interfaces/file.mojom @@ -59,6 +59,9 @@ interface File { // |open_flags| argument) as well as file position. Dup(File& file) => (FileError error); + // Syncs data to disk. + Flush() => (FileError error); + // Returns a handle to the file for raw access. AsHandle() => (FileError error, handle file_handle); }; |