Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1027)

Unified Diff: native_client_sdk/src/doc/devguide/coding/file-io.rst

Issue 131403004: [Retry] PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | native_client_sdk/src/examples/api/file_io/file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/devguide/coding/file-io.rst
diff --git a/native_client_sdk/src/doc/devguide/coding/file-io.rst b/native_client_sdk/src/doc/devguide/coding/file-io.rst
index fd2a38c657c1f48f9c72acb865bd41cbd68bb16d..b63f3c89e05db5c867270d7bd429d05deac9537b 100644
--- a/native_client_sdk/src/doc/devguide/coding/file-io.rst
+++ b/native_client_sdk/src/doc/devguide/coding/file-io.rst
@@ -548,7 +548,8 @@ Then the ``pp::FileRef::MakeDirectory`` function is called.
.. naclcode::
- int32_t result = ref.MakeDirectory(pp::BlockUntilComplete());
+ int32_t result = ref.MakeDirectory(
+ PP_MAKEDIRECTORYFLAG_NONE, pp::BlockUntilComplete());
if (result != PP_OK) {
ShowErrorMessage("Make directory failed", result);
return;
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | native_client_sdk/src/examples/api/file_io/file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698