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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_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/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
index eacb9c4322c41213d6957d814a711631b04e8aba..7b61f3398ba351e6e3c77b1d2fa2c06d8e765c45 100644
--- a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
@@ -500,7 +500,7 @@ PP_Var FakeFileRefInterface::GetName(PP_Resource file_ref) {
}
int32_t FakeFileRefInterface::MakeDirectory(PP_Resource directory_ref,
- PP_Bool make_ancestors,
+ int32_t make_directory_flags,
PP_CompletionCallback callback) {
FakeFileRefResource* directory_ref_resource =
core_interface_->resource_manager()->Get<FakeFileRefResource>(
@@ -508,9 +508,9 @@ int32_t FakeFileRefInterface::MakeDirectory(PP_Resource directory_ref,
if (directory_ref_resource == NULL)
return PP_ERROR_BADRESOURCE;
- // TODO(binji): We don't currently use make_ancestors==PP_TRUE in nacl_io, so
+ // TODO(binji): We don't currently use make_directory_flags in nacl_io, so
// I won't bother implementing it.
- if (make_ancestors == PP_TRUE)
+ if (make_directory_flags)
return PP_ERROR_FAILED;
FakeHtml5FsFilesystem* filesystem = directory_ref_resource->filesystem;
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.h ('k') | ppapi/api/ppb_file_ref.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698