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

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: Moved several modules to chromeos folder. Created 5 years, 5 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 | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/shared_impl/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/resource_creation_proxy.cc
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index aa522ee01393bcb8ab13ec7f47ad25f492899f95..550342efe11664363a031c0e9d86cc55785e6ab7 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) {
@@ -482,7 +489,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)
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/shared_impl/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698