summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/file_system.h
Commit message (Collapse)AuthorAgeFilesLines
* [PPAPI] Added pp::VarResource_Dev class.yzshen@chromium.org2013-11-011-0/+13
| | | | | | | | | | | | | | | | | This is a C++ wrapper for the C API PPB_VarResource_Dev. Also added methods to pp::FileSystem for converting a pp::Resource to a pp::FileSystem, which are necessary for making use of a resource extracted using pp::VarResource_Dev. (Committed by yzshen@chromium.org on behalf of mgiuca@chromium.org) BUG=177017 R=dmichael@chromium.org, noelallen@chromium.org, noelallen@google.com, yzshen@chromium.org Review URL: https://codereview.chromium.org/52233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232482 0039d316-1c4b-4281-b951-d872f2087c98
* pp::FileSystem: add copy constrctorvictorhsieh@chromium.org2013-05-091-0/+5
| | | | | | | | | | This will make the output callback of ExtCrxFileSystemPrivate.Open easier to use. BUG=223301 Review URL: https://chromiumcodereview.appspot.com/14576007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199121 0039d316-1c4b-4281-b951-d872f2087c98
* CRX FileSystem Pepper private APIvictorhsieh@chromium.org2013-05-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | pp::ExtCrxFileSystemPrivate is introduced in this change to allow plugin to mount (readonly) CRX extension directory as a filesystem. Files can be access through pp::ExtCrxFileRefPrivate (which is a subclass of pp::FileRef) just like normal file, and the path would look like "/manifest.json". See ppapi/example/crxfs for example. Some keypoints in this change: * pepper resource/host architecture: - please refer to ppapi/proxy/ext_crx_file_system_private_resource.h. * webkit/fileapi related: - Changes run in browser - Isoloated filesystem is the underlying filesystem - Grant read permission to corresponding renderer of the plugin - See chrome/browser/renderer_host/pepper/pepper_ext_crx_file_system_browser_host.cc * extension related: - Changes run in browser - This is for getting extension installed directory to mount TEST=out/Debug/chrome --register-pepper-plugins="out/Debug/lib/libppapi_example_crxfs.so#PPAPI Tests##1.2.3;application/x-ppapi-example-crxfs" \ ppapi/examples/crxfs/crxfs.html BUG=223301 Review URL: https://chromiumcodereview.appspot.com/14188019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198938 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Add Quota info to PPB_FileSystem::Open docdmichael@chromium.org2012-07-111-2/+8
| | | | | | | | | | BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10413036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146051 0039d316-1c4b-4281-b951-d872f2087c98
* Convert resources to take an instance key instead of an Instance*.brettw@chromium.org2012-02-271-3/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123795 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declarations in ppapi.thestig@chromium.org2011-11-111-3/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8527020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109595 0039d316-1c4b-4281-b951-d872f2087c98
* Add a default contrustor to the FileSystem wrapper.brettw@chromium.org2011-09-201-0/+4
| | | | | | | | | | | | This is for consistency with the other resource wrappers and to support certain patterns of use. TEST=none BUG=none Review URL: http://codereview.chromium.org/7945002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102000 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed spelling errors and changed all references to PP_Resource to be thejond@google.com2011-08-311-1/+1
| | | | | | | same (on @param tags) as per polina. Review URL: http://codereview.chromium.org/7701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98972 0039d316-1c4b-4281-b951-d872f2087c98
* C++ File IO documentation.jond@google.com2011-08-091-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7307037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96083 0039d316-1c4b-4281-b951-d872f2087c98
* C++ File IO documentation. This is more-or-less a copy and paste from the C ↵jond@google.com2011-07-081-1/+20
| | | | | | | | docs. Review URL: http://codereview.chromium.org/7307037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91876 0039d316-1c4b-4281-b951-d872f2087c98
* This CL is oringialy http://codereview.chromium.org/7210027sanga@chromium.org2011-06-271-0/+32
I moved to write access repository. Review URL: http://codereview.chromium.org/7261004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90629 0039d316-1c4b-4281-b951-d872f2087c98