| Index: components/filesystem/public/interfaces/directory.mojom
|
| diff --git a/components/filesystem/public/interfaces/directory.mojom b/components/filesystem/public/interfaces/directory.mojom
|
| index 98a2b8c619c5723fbbad04266e2d8bda515f629a..104a62f55283afb4c8380a91cf7767420fa5028f 100644
|
| --- a/components/filesystem/public/interfaces/directory.mojom
|
| +++ b/components/filesystem/public/interfaces/directory.mojom
|
| @@ -91,9 +91,11 @@ interface Directory {
|
| Clone(Directory& directory);
|
|
|
| // Reads the contents of an entire file.
|
| + [Sync]
|
| ReadEntireFile(string path) => (FileError error, array<uint8> data);
|
|
|
| // Writes |data| to |path|, overwriting the file if it already exists.
|
| + [Sync]
|
| WriteFile(string path, array<uint8> data) => (FileError error);
|
|
|
| // TODO(vtl): directory "streaming"?
|
|
|