summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 14:28:06 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 14:28:06 +0000
commit048e979919ed03ce77e1f530723e15add3883ba1 (patch)
treec5fc3c03e45a670873aa8026e2650c7046b2b1fd /ppapi/cpp
parentde4f7d2273c0605bef5d58c838cebc974a0f57bb (diff)
downloadchromium_src-048e979919ed03ce77e1f530723e15add3883ba1.zip
chromium_src-048e979919ed03ce77e1f530723e15add3883ba1.tar.gz
chromium_src-048e979919ed03ce77e1f530723e15add3883ba1.tar.bz2
PPAPI: Fix doc for MakeDirectory when directory exists
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
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/file_ref.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ppapi/cpp/file_ref.h b/ppapi/cpp/file_ref.h
index 8b008ac..d229c5f 100644
--- a/ppapi/cpp/file_ref.h
+++ b/ppapi/cpp/file_ref.h
@@ -96,7 +96,9 @@ class FileRef : public Resource {
/// completion of MakeDirectory().
///
/// @return An int32_t containing an error code from <code>pp_errors.h</code>.
- /// Fails if the directory already exists.
+ /// Succeeds if the directory already exists. Fails if ancestor
+ /// directortories do not exist (see MakeDirectoryIncludingAncestors for the
+ /// alternative).
int32_t MakeDirectory(const CompletionCallback& cc);
/// MakeDirectoryIncludingAncestors() makes a new directory in the file
@@ -107,7 +109,7 @@ class FileRef : public Resource {
/// completion of MakeDirectoryIncludingAncestors().
///
/// @return An int32_t containing an error code from <code>pp_errors.h</code>.
- /// Fails if the directory already exists.
+ /// Succeeds 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