This function is called only from within content to convert from a ppapi
enum type to webkit fileapi type (this one will be come a content enum
type in later change).
So anticipating that change from webkit/ to content/ we moved this
function from ppapi to content to make this future change a little bit
easier.
And it is also nice to do now because it removes the last include of
webkit/ from ppapi making it much more clearer in term of deps.
BUG=338338
TEST=blink_tests
R=dmichael@chromium.org,jam@chromium.org
Review URL: https://codereview.chromium.org/424213006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286776 0039d316-1c4b-4281-b951-d872f2087c98
This change introduces PluginPrivate fileSystem, a brand-new per-plugin
sandboxed-isolated filesystem, in PPB_IsolatedFileSystem_Private.
Key points in this CL:
- Adding new isolated filesystem type for PluginPrivate filesystem.
- Granting full access of the filesystem to renderer process.
- Generating plugin ID from plugin's MIME type.
BUG=286242
TEST=manual (see https://codereview.chromium.org/77813004/)
TEST=content_unittests --gtest_filter=PepperFileSystemBrowserHostTest.*
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/26803004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236241 0039d316-1c4b-4281-b951-d872f2087c98
Adds a function to convert Pepper file system types to fileapi equivalents.
Adds a function to indicate if a file system needs quota checks.
BUG=194304
Review URL: https://codereview.chromium.org/58853009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234599 0039d316-1c4b-4281-b951-d872f2087c98