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

Unified Diff: ppapi/shared_impl/file_type_conversion.h

Issue 16140025: Pepper: Refactor FileInfo conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
Index: ppapi/shared_impl/file_type_conversion.h
diff --git a/ppapi/shared_impl/file_type_conversion.h b/ppapi/shared_impl/file_type_conversion.h
index eb6cb56e96da2d62ed00f84ead96adc370a410f8..a5edf87606b175f033734c016eeefdc8e0c3d656 100644
--- a/ppapi/shared_impl/file_type_conversion.h
+++ b/ppapi/shared_impl/file_type_conversion.h
@@ -6,7 +6,9 @@
#define PPAPI_SHARED_IMPL_FILE_TYPE_CONVERSION_H_
#include "base/platform_file.h"
+#include "ppapi/c/pp_file_info.h"
#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/ppb_file_system.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
namespace ppapi {
@@ -21,6 +23,11 @@ PPAPI_SHARED_EXPORT bool PepperFileOpenFlagsToPlatformFileFlags(
int32_t pp_open_flags,
int* flags_out);
+PPAPI_SHARED_EXPORT void PlatformFileInfoToPepperFileInfo(
+ const base::PlatformFileInfo& info,
+ PP_FileSystemType fs_type,
+ PP_FileInfo *info_out);
yzshen1 2013/06/04 05:22:28 nit: '*' should be adjacent to the type instead of
+
} // namespace ppapi
#endif // PPAPI_SHARED_IMPL_FILE_TYPE_CONVERSION_H_

Powered by Google App Engine
This is Rietveld 408576698