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

Unified Diff: trunk/src/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc

Issue 131473002: Revert 243802 "PPAPI: Add new PPB_FileRef.MakeDirectory to suppo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc
===================================================================
--- trunk/src/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc (revision 243841)
+++ trunk/src/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc (working copy)
@@ -21,7 +21,6 @@
#include "ppapi/c/pp_file_info.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
-#include "ppapi/c/ppb_file_ref.h"
#include "ppapi/host/dispatch_host_message.h"
#include "ppapi/host/ppapi_host.h"
#include "ppapi/proxy/ppapi_messages.h"
@@ -93,14 +92,14 @@
int32_t PepperInternalFileRefBackend::MakeDirectory(
ppapi::host::ReplyMessageContext reply_context,
- int32_t make_directory_flags) {
+ bool make_ancestors) {
if (!GetFileSystemURL().is_valid())
return PP_ERROR_FAILED;
GetFileSystemContext()->operation_runner()->CreateDirectory(
GetFileSystemURL(),
- !!(make_directory_flags & PP_MAKEDIRECTORYFLAG_EXCLUSIVE),
- !!(make_directory_flags & PP_MAKEDIRECTORYFLAG_WITH_ANCESTORS),
+ false,
+ make_ancestors,
base::Bind(&PepperInternalFileRefBackend::DidFinish,
weak_factory_.GetWeakPtr(),
reply_context,

Powered by Google App Engine
This is Rietveld 408576698