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

Unified Diff: ppapi/shared_impl/file_system_util.h

Issue 58853009: Pepper: Add shared Utilities for file systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add IsValid function. Created 7 years, 1 month 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/DEPS ('k') | ppapi/shared_impl/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/file_system_util.h
diff --git a/ppapi/shared_impl/file_system_util.h b/ppapi/shared_impl/file_system_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..2495a82bee7f10a30069734236d2374fa31d5124
--- /dev/null
+++ b/ppapi/shared_impl/file_system_util.h
@@ -0,0 +1,24 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
+#define PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
+
+#include "ppapi/c/pp_file_info.h"
+#include "ppapi/shared_impl/ppapi_shared_export.h"
+#include "webkit/common/fileapi/file_system_types.h"
+
+namespace ppapi {
+
+PPAPI_SHARED_EXPORT
+fileapi::FileSystemType PepperFileSystemTypeToFileSystemType(
+ PP_FileSystemType type);
+
+PPAPI_SHARED_EXPORT bool FileSystemTypeIsValid(PP_FileSystemType type);
+
+PPAPI_SHARED_EXPORT bool FileSystemTypeHasQuota(PP_FileSystemType type);
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
« no previous file with comments | « ppapi/shared_impl/DEPS ('k') | ppapi/shared_impl/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698