summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/file_system_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/file_system_util.cc')
-rw-r--r--ppapi/shared_impl/file_system_util.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/ppapi/shared_impl/file_system_util.cc b/ppapi/shared_impl/file_system_util.cc
index 330995c..25650d1 100644
--- a/ppapi/shared_impl/file_system_util.cc
+++ b/ppapi/shared_impl/file_system_util.cc
@@ -8,20 +8,6 @@
namespace ppapi {
-fileapi::FileSystemType PepperFileSystemTypeToFileSystemType(
- PP_FileSystemType type) {
- switch (type) {
- case PP_FILESYSTEMTYPE_LOCALTEMPORARY:
- return fileapi::kFileSystemTypeTemporary;
- case PP_FILESYSTEMTYPE_LOCALPERSISTENT:
- return fileapi::kFileSystemTypePersistent;
- case PP_FILESYSTEMTYPE_EXTERNAL:
- return fileapi::kFileSystemTypeExternal;
- default:
- return fileapi::kFileSystemTypeUnknown;
- }
-}
-
bool FileSystemTypeIsValid(PP_FileSystemType type) {
return (type == PP_FILESYSTEMTYPE_LOCALPERSISTENT ||
type == PP_FILESYSTEMTYPE_LOCALTEMPORARY ||