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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Various cleanups Created 5 years, 7 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/resource_creation_proxy.cc
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index e20eb9df203542abe7a263f8e5c1b07936a3ddee..4284e1d087a931c65024292074e39ab519ea649c 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -14,6 +14,7 @@
#include "ppapi/proxy/file_io_resource.h"
#include "ppapi/proxy/file_ref_resource.h"
#include "ppapi/proxy/file_system_resource.h"
+#include "ppapi/proxy/filesystem_provider_resource.h"
#include "ppapi/proxy/flash_drm_resource.h"
#include "ppapi/proxy/flash_font_file_resource.h"
#include "ppapi/proxy/flash_menu_resource.h"
@@ -411,6 +412,12 @@ PP_Resource ResourceCreationProxy::CreateX509CertificatePrivate(
return PPB_X509Certificate_Private_Proxy::CreateProxyResource(instance);
}
+PP_Resource ResourceCreationProxy::CreateFilesystemProvider(
+ PP_Instance instance) {
+ return (new FilesystemProviderResource(
+ GetConnection(), instance))->GetReference();
+}
+
#if !defined(OS_NACL)
PP_Resource ResourceCreationProxy::CreateAudioInput(
PP_Instance instance) {
@@ -488,7 +495,7 @@ PP_Resource ResourceCreationProxy::CreateVideoDecoderDev(
PP_Resource context3d_id,
PP_VideoDecoder_Profile profile) {
return PPB_VideoDecoder_Proxy::CreateProxyResource(
- instance, context3d_id, profile);
+ instance, context3d_id, profile);
}
#endif // !defined(OS_NACL)

Powered by Google App Engine
This is Rietveld 408576698