Index: ppapi/proxy/isolated_file_system_private_resource.cc |
diff --git a/ppapi/proxy/isolated_file_system_private_resource.cc b/ppapi/proxy/isolated_file_system_private_resource.cc |
index 756bdb7bd6c1a5eacb890853dcfc094255a2e510..b4827de40e7c7b35a840cf30e6ce5045842d876f 100644 |
--- a/ppapi/proxy/isolated_file_system_private_resource.cc |
+++ b/ppapi/proxy/isolated_file_system_private_resource.cc |
@@ -47,6 +47,14 @@ int32_t IsolatedFileSystemPrivateResource::Open( |
if (!file_system_resource) |
return PP_ERROR_BADARGUMENT; |
+#ifndef OS_CHROMEOS |
+ // PluginPrivate filesystem is supported only on ChromeOS. |
dmichael (off chromium)
2013/11/15 17:42:44
Thanks. I think we want to actually check this on
nhiroki
2013/11/18 11:21:17
Good to know. I considered this closely, and I thi
|
+ if (type == PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) { |
+ LOG(WARNING) << "PluginPrivate filesystem is not supported."; |
+ return PP_ERROR_NOTSUPPORTED; |
+ } |
+#endif |
+ |
Call<PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply>(BROWSER, |
PpapiHostMsg_IsolatedFileSystem_BrowserOpen(type), |
base::Bind(&IsolatedFileSystemPrivateResource::OnBrowserOpenComplete, |