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

Unified Diff: ppapi/proxy/file_ref_resource.cc

Issue 113363004: PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix 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: ppapi/proxy/file_ref_resource.cc
diff --git a/ppapi/proxy/file_ref_resource.cc b/ppapi/proxy/file_ref_resource.cc
index 7cd96bc60a0685251c888b41c0fe8cae3e05bb38..1e979f3471fa6f7fd471193b0bb4dcf324955cac 100644
--- a/ppapi/proxy/file_ref_resource.cc
+++ b/ppapi/proxy/file_ref_resource.cc
@@ -129,11 +129,13 @@ PP_Resource FileRefResource::GetParent() {
}
int32_t FileRefResource::MakeDirectory(
+ PP_Bool exclusive,
PP_Bool make_ancestors,
scoped_refptr<TrackedCallback> callback) {
Call<PpapiPluginMsg_FileRef_MakeDirectoryReply>(
BROWSER,
- PpapiHostMsg_FileRef_MakeDirectory(PP_TRUE == make_ancestors),
+ PpapiHostMsg_FileRef_MakeDirectory(
+ PP_TRUE == exclusive, PP_TRUE == make_ancestors),
base::Bind(&FileRefResource::RunTrackedCallback, this, callback));
return PP_OK_COMPLETIONPENDING;
}

Powered by Google App Engine
This is Rietveld 408576698