summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/file_ref.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert 201822 "Revert 201793 "PPAPI: Fix doc for MakeDirectory w..."nkostylev@chromium.org2013-05-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | > Revert 201793 "PPAPI: Fix doc for MakeDirectory when directory e..." > > Seems to be breaking nacl_integration > http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-32%29/builds/3182 > > > PPAPI: Fix doc for MakeDirectory when directory exists > > > > BUG=242740 > > > > Review URL: https://chromiumcodereview.appspot.com/15755003 > > TBR=dmichael@chromium.org > > Review URL: https://codereview.chromium.org/15878004 TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/15840007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201829 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201793 "PPAPI: Fix doc for MakeDirectory when directory e..."nkostylev@chromium.org2013-05-231-4/+2
| | | | | | | | | | | | | | | | | Seems to be breaking nacl_integration http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-32%29/builds/3182 > PPAPI: Fix doc for MakeDirectory when directory exists > > BUG=242740 > > Review URL: https://chromiumcodereview.appspot.com/15755003 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/15878004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201822 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix doc for MakeDirectory when directory existsdmichael@chromium.org2013-05-231-2/+4
| | | | | | | | BUG=242740 Review URL: https://chromiumcodereview.appspot.com/15755003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201793 0039d316-1c4b-4281-b951-d872f2087c98
* CRX FileSystem Pepper private APIvictorhsieh@chromium.org2013-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntrieshamaji@chromium.org2013-05-031-1/+25
| | | | | | | | | | | | | | | | | This also means this API becomes a stable API. While DirectoryReader was using the new pepper proxy API, FileRef is using the old one. As updating FileRef would take some time, the implementation of ReadEntries is converted from the new design to the old one for now. BUG=234513 TEST=browser_tests R=avi@chromium.org, binji@chromium.org, dmichael@chromium.org, palmer@chromium.org, raymes@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/14784002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198204 0039d316-1c4b-4281-b951-d872f2087c98
* Add Query() support to FileRef.teravest@chromium.org2013-04-021-1/+13
| | | | | | | | | | | | | This change brings Query() support back to FileRef for in-process and out-of-process plugins. I've added testing for a file that exists and one that doesn't. BUG=170721 Review URL: https://chromiumcodereview.appspot.com/12817009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191805 0039d316-1c4b-4281-b951-d872f2087c98
* Convert resources to take an instance key instead of an Instance*.brettw@chromium.org2012-02-271-7/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123795 0039d316-1c4b-4281-b951-d872f2087c98
* C++ File IO documentation.jond@google.com2011-08-091-6/+6
| | | | | | 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-12/+99
| | | | | | | | 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/+66
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