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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 13726024: Refactor FileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NON_EXPORTED_BASE Created 7 years, 8 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 | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | webkit/plugins/ppapi/url_request_info_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index d7be2668515bbe98a46aec9b179f9085ea7c06d0..b6af9761ceb278fcef466dcdcd0340d6a9f2208c 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -14,7 +14,6 @@
#include "webkit/plugins/ppapi/ppb_broker_impl.h"
#include "webkit/plugins/ppapi/ppb_buffer_impl.h"
#include "webkit/plugins/ppapi/ppb_file_ref_impl.h"
-#include "webkit/plugins/ppapi/ppb_file_system_impl.h"
#include "webkit/plugins/ppapi/ppb_flash_message_loop_impl.h"
#include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h"
#include "webkit/plugins/ppapi/ppb_image_data_impl.h"
@@ -82,16 +81,13 @@ PP_Resource ResourceCreationImpl::CreateDirectoryReader(
return 0; // Not supported in-process.
}
-PP_Resource ResourceCreationImpl::CreateFileRef(PP_Resource file_system,
- const char* path) {
- PPB_FileRef_Impl* res = PPB_FileRef_Impl::CreateInternal(file_system, path);
- return res ? res->GetReference() : 0;
-}
-
-PP_Resource ResourceCreationImpl::CreateFileSystem(
+PP_Resource ResourceCreationImpl::CreateFileRef(
PP_Instance instance,
- PP_FileSystemType type) {
- return PPB_FileSystem_Impl::Create(instance, type);
+ PP_Resource file_system,
+ const char* path) {
+ PPB_FileRef_Impl* res = PPB_FileRef_Impl::CreateInternal(
+ instance, file_system, path);
+ return res ? res->GetReference() : 0;
}
PP_Resource ResourceCreationImpl::CreateFlashDeviceID(PP_Instance instance) {
« no previous file with comments | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | webkit/plugins/ppapi/url_request_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698