diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 16:30:13 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 16:30:13 +0000 |
commit | d0eaf77b8f98ae5d17353e977b462520b268a865 (patch) | |
tree | a4e9fa6e7d253ae0efabd0e5ce292aeda4efb568 /ppapi | |
parent | afca5d2ed825cc13581396ad18b117631cd00f9e (diff) | |
download | chromium_src-d0eaf77b8f98ae5d17353e977b462520b268a865.zip chromium_src-d0eaf77b8f98ae5d17353e977b462520b268a865.tar.gz chromium_src-d0eaf77b8f98ae5d17353e977b462520b268a865.tar.bz2 |
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
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/api/ppb_file_ref.idl | 6 | ||||
-rw-r--r-- | ppapi/c/ppb_file_ref.h | 8 | ||||
-rw-r--r-- | ppapi/cpp/file_ref.h | 6 |
3 files changed, 9 insertions, 11 deletions
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 <code>pp_errors.h</code>. - * Succeeds if the directory already exists. Fails if ancestor directories - * do not exist and <code>make_ancestors</code> was passed as - * <code>PP_FALSE</code>. + * Fails if the directory already exists or if ancestor directories do not + * exist and <code>make_ancestors</code> was not passed as + * <code>PP_TRUE</code>. */ 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 <code>pp_errors.h</code>. - * Succeeds if the directory already exists. Fails if ancestor directories - * do not exist and <code>make_ancestors</code> was passed as - * <code>PP_FALSE</code>. + * Fails if the directory already exists or if ancestor directories do not + * exist and <code>make_ancestors</code> was not passed as + * <code>PP_TRUE</code>. */ 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 <code>pp_errors.h</code>. - /// 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 <code>pp_errors.h</code>. - /// 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 |