Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: components/filesystem/public/interfaces/file.mojom

Issue 1839823002: mojo leveldb: Remove the created file thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And cut out manual Signal()ing most places. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/filesystem/public/interfaces/directory.mojom ('k') | components/leveldb/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « components/filesystem/public/interfaces/directory.mojom ('k') | components/leveldb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698