Index: components/filesystem/public/interfaces/file.mojom |
diff --git a/components/filesystem/public/interfaces/file.mojom b/components/filesystem/public/interfaces/file.mojom |
index 9eb5e7ec5a6a7b3367b3df655363f1b2c5365b9d..eca7f2beaa8c6f8465dd42483ecd9e917e94f97e 100644 |
--- a/components/filesystem/public/interfaces/file.mojom |
+++ b/components/filesystem/public/interfaces/file.mojom |
@@ -65,9 +65,11 @@ interface File { |
// Attempts to take an exclusive write lock on the file. This both takes a |
// native OS file lock (so that non-chrome, non-mojo processes can't write to |
// this file). |
+ [Sync] |
Lock() => (FileError error); |
// Unlocks a previously locked file. |
+ [Sync] |
Unlock() => (FileError error); |
// Returns a handle to the file for raw access. |