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

Unified Diff: native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc

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
Index: native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
index c7c52f453ae46771cfa3ca7efbf3c63002ac0720..64a1f4724e65755d4ffe246d434dc024d3eadf9a 100644
--- a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
+++ b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
@@ -75,7 +75,8 @@ Error Html5Fs::Mkdir(const Path& path, int permissions) {
return ENOENT;
int32_t result = ppapi()->GetFileRefInterface()->MakeDirectory(
- fileref_resource.pp_resource(), PP_FALSE, PP_BlockUntilComplete());
+ fileref_resource.pp_resource(), PP_MAKEDIRECTORYFLAG_NONE,
+ PP_BlockUntilComplete());
if (result != PP_OK)
return PPErrorToErrno(result);
« no previous file with comments | « native_client_sdk/src/examples/api/file_io/file_io.cc ('k') | native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698