Revert 243802 "PPAPI: Add new PPB_FileRef.MakeDirectory to suppo..."
commite9c0335ee03f14e4f6577dec8d2f9c5744bc577f
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 9 Jan 2014 11:09:20 +0000 (9 11:09 +0000)
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 9 Jan 2014 11:09:20 +0000 (9 11:09 +0000)
tree1b5cab9e9df0d300de040d132aecb8a0573e94f5
parent0efdfd734dda4fcd167d66fb4225fd42c8d7fa02
Revert 243802 "PPAPI: Add new PPB_FileRef.MakeDirectory to suppo..."

This breaks examples of NaCl SDK.
http://build.chromium.org/p/client.nacl.sdk/builders/mac-sdk-multi/builds/6796

> 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

TBR=nhiroki@chromium.org

Review URL: https://codereview.chromium.org/131473002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243842 0039d316-1c4b-4281-b951-d872f2087c98
23 files changed:
chrome/browser/component_updater/ppapi_utils.cc
content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc
content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
content/browser/renderer_host/pepper/pepper_file_ref_host.cc
content/browser/renderer_host/pepper/pepper_file_ref_host.h
content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc
content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h
content/renderer/pepper/plugin_module.cc
ppapi/api/ppb_file_ref.idl
ppapi/c/ppb_file_ref.h
ppapi/cpp/file_ref.cc
ppapi/cpp/file_ref.h
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
ppapi/proxy/file_ref_resource.cc
ppapi/proxy/file_ref_resource.h
ppapi/proxy/interface_list.cc
ppapi/proxy/ppapi_messages.h
ppapi/tests/test_file_io.cc
ppapi/tests/test_file_ref.cc
ppapi/thunk/interfaces_ppb_public_dev_channel.h
ppapi/thunk/ppb_file_ref_api.h
ppapi/thunk/ppb_file_ref_thunk.cc
ppapi/thunk/thunk.h