0
Commit Graph

3 Commits

Author SHA1 Message Date
tfarina@chromium.org
05813c6aa8 Extract PepperFileSystemTypeToFileSystemType() from ppapi.
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
2014-07-31 12:56:29 +00:00
nhiroki@chromium.org
c54d9901b7 PPAPI: Add PluginPrivateFileSystem
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
2013-11-20 13:44:37 +00:00
bbudge@chromium.org
26dfb4b759 Pepper: Add shared Utilities for file systems.
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
2013-11-12 19:36:13 +00:00