summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/thunk.h
diff options
context:
space:
mode:
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 07:45:29 +0000
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 07:45:29 +0000
commitd1dea5daa1c8a8fcf0bd81ec473e78a69655fa65 (patch)
treedfd21bd5eed4d1cd5f572237e819c1d2e9a76022 /ppapi/thunk/thunk.h
parent600dc3d30376f58f5b3960fc04ac407c39e9daa1 (diff)
downloadchromium_src-d1dea5daa1c8a8fcf0bd81ec473e78a69655fa65.zip
chromium_src-d1dea5daa1c8a8fcf0bd81ec473e78a69655fa65.tar.gz
chromium_src-d1dea5daa1c8a8fcf0bd81ec473e78a69655fa65.tar.bz2
PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation
Current PPB_FileRef.MakeDirectory returns PP_OK if a directory exists on the given path. This makes it difficult to create POSIX compatible API on top of PPAPI. This change introduces new PPB_FileRef.MakeDirectory as dev channel API. That makes a new directory according to the given PP_MakeDirectoryFlags values. The flags provide exclusive operation option. If exclusive flag is specified and a directory exists on the given path, the function fails and returns PP_ERROR_FILEEXISTS. BUG=314879 TEST=browser_tests Review URL: https://codereview.chromium.org/113363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/thunk.h')
-rw-r--r--ppapi/thunk/thunk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/thunk/thunk.h b/ppapi/thunk/thunk.h
index 86a328f..a85ce77 100644
--- a/ppapi/thunk/thunk.h
+++ b/ppapi/thunk/thunk.h
@@ -25,6 +25,7 @@
#include "ppapi/thunk/interfaces_ppb_private_flash.h"
#include "ppapi/thunk/interfaces_ppb_public_stable.h"
#include "ppapi/thunk/interfaces_ppb_public_dev.h"
+#include "ppapi/thunk/interfaces_ppb_public_dev_channel.h"
#undef UNPROXIED_IFACE
#undef PROXIED_IFACE