DescriptionFileSystem: Modify ObfucatedFileUtil to delete contents of the plugin private filesystem
Database destruction functions haven't correctly worked for plugin private
filesystems since the filesystem has a different directory structure
from other filesystems as follows:
- PluginPrivate FS: /path/to/File System/Plugins/<origins>/<plugin_id>/<paths>/<file>
- Other FS: /path/to/File System/<origins>/<storage type>/<paths>/<file>
This patch tweaks those functions correctly to delete contents and
metadata of the plugin private filesystem.
NOTE: A part of tests is contributed by xhwang@chromium.org:
https://codereview.chromium.org/580363003/
BUG=326429
TEST=content_unittests --gtest_filter=PluginPrivateFileSystemBackendTest.*
TEST=content_unittests --gtest_filter=ObfuscatedFileUtilTest.*
Committed: https://crrev.com/ac30625dc4b1e28a685936ad48b95e8db2140af5
Cr-Commit-Position: refs/heads/master@{#303213}
Patch Set 1 : #Patch Set 2 : fix for win build #
Total comments: 5
Patch Set 3 : address xhwang@'s comment #
Total comments: 8
Patch Set 4 : remake #
Total comments: 6
Patch Set 5 : rebase #Patch Set 6 : review fix #
Messages
Total messages: 21 (8 generated)
|