Run ObfuscatedFileUtilMemoryDelegate entirely on TaskRunner.
MemoryFileStreamWriter called some ObfuscatedFileUtilMemoryDelegate functions through IO thread while other functions in OFUMD are called on a threadpool sequence. This could result in races in updating directory structure. To fix the issue, MemoryFileStreamWriter and MemoryFileStreamReader are updated to call all OFUMD on the default task runner of the file system context. Bug: 1100136 Change-Id: I59146ca690eee810c52f807bd1fb4ef2b1f2c929 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308721 Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#802584}
Showing
Please register or sign in to comment