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

Unified Diff: ppapi/shared_impl/file_system_util.cc

Issue 424213006: Extract PepperFileSystemTypeToFileSystemType() from ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: looks like CONTENT_EXPORT is not needed? Created 6 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/shared_impl/file_system_util.h ('k') | ppapi/shared_impl/host_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/file_system_util.cc
diff --git a/ppapi/shared_impl/file_system_util.cc b/ppapi/shared_impl/file_system_util.cc
index 330995cceb8d57c7807e013481e05767ed0828b7..25650d1c853916a0f64b7d3b0718140b2693539a 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 ||
« no previous file with comments | « ppapi/shared_impl/file_system_util.h ('k') | ppapi/shared_impl/host_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698