forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FS: Notify of changes to intermediate directories for CreateDirectory
ObfuscatedFileUtil::CreateDirectory has a `recursive` flag which mimics the behavior of `mkdir -p` by creating intermediate directories, if necessary. However, this incorrectly reported all changes as occurring on the target FileSystemURL. For example, given foo/, the following changes would be signaled when recursively creating directory foo/bar/baz/ Before: - OnCreateDirectory on foo/bar/baz/ - OnCreateDirectory on foo/bar/baz/ After: - OnCreateDirectory on foo/bar/ - OnCreateDirectory on foo/bar/baz/ Bug: 1019297, 1486978 Change-Id: Ib5aa74fa5c23d596c14b038d058b2c7c1b61a25f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4895368 Auto-Submit: Austin Sullivan <asully@chromium.org> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/main@{#1205376}
- Loading branch information
Showing
4 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters