From d0eaf77b8f98ae5d17353e977b462520b268a865 Mon Sep 17 00:00:00 2001 From: "nkostylev@chromium.org" Date: Thu, 23 May 2013 16:30:13 +0000 Subject: 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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201822 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/api/ppb_file_ref.idl | 6 +++--- ppapi/c/ppb_file_ref.h | 8 ++++---- ppapi/cpp/file_ref.h | 6 ++---- 3 files changed, 9 insertions(+), 11 deletions(-) (limited to 'ppapi') diff --git a/ppapi/api/ppb_file_ref.idl b/ppapi/api/ppb_file_ref.idl index 8e4b81d..e783027 100644 --- a/ppapi/api/ppb_file_ref.idl +++ b/ppapi/api/ppb_file_ref.idl @@ -107,9 +107,9 @@ interface PPB_FileRef { * if ancestor directories are not needed. * * @return An int32_t containing an error code from pp_errors.h. - * Succeeds if the directory already exists. Fails if ancestor directories - * do not exist and make_ancestors was passed as - * PP_FALSE. + * Fails if the directory already exists or if ancestor directories do not + * exist and make_ancestors was not passed as + * PP_TRUE. */ int32_t MakeDirectory([in] PP_Resource directory_ref, [in] PP_Bool make_ancestors, diff --git a/ppapi/c/ppb_file_ref.h b/ppapi/c/ppb_file_ref.h index 0f35e2c..951c30d 100644 --- a/ppapi/c/ppb_file_ref.h +++ b/ppapi/c/ppb_file_ref.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From ppb_file_ref.idl modified Wed May 22 15:08:49 2013. */ +/* From ppb_file_ref.idl modified Thu May 2 16:22:57 2013. */ #ifndef PPAPI_C_PPB_FILE_REF_H_ #define PPAPI_C_PPB_FILE_REF_H_ @@ -122,9 +122,9 @@ struct PPB_FileRef_1_1 { * if ancestor directories are not needed. * * @return An int32_t containing an error code from pp_errors.h. - * Succeeds if the directory already exists. Fails if ancestor directories - * do not exist and make_ancestors was passed as - * PP_FALSE. + * Fails if the directory already exists or if ancestor directories do not + * exist and make_ancestors was not passed as + * PP_TRUE. */ int32_t (*MakeDirectory)(PP_Resource directory_ref, PP_Bool make_ancestors, diff --git a/ppapi/cpp/file_ref.h b/ppapi/cpp/file_ref.h index d229c5f..8b008ac 100644 --- a/ppapi/cpp/file_ref.h +++ b/ppapi/cpp/file_ref.h @@ -96,9 +96,7 @@ class FileRef : public Resource { /// completion of MakeDirectory(). /// /// @return An int32_t containing an error code from pp_errors.h. - /// Succeeds if the directory already exists. Fails if ancestor - /// directortories do not exist (see MakeDirectoryIncludingAncestors for the - /// alternative). + /// Fails if the directory already exists. int32_t MakeDirectory(const CompletionCallback& cc); /// MakeDirectoryIncludingAncestors() makes a new directory in the file @@ -109,7 +107,7 @@ class FileRef : public Resource { /// completion of MakeDirectoryIncludingAncestors(). /// /// @return An int32_t containing an error code from pp_errors.h. - /// Succeeds if the directory already exists. + /// Fails if the directory already exists. int32_t MakeDirectoryIncludingAncestors(const CompletionCallback& cc); /// Touch() Updates time stamps for a file. You must have write access to the -- cgit v1.1