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 c41b79b7ddb5b96823fb2f31ddd7f11fa8c76fac..7c5454d0a0abb7be2905dd0addf7116aac870313 100644 |
--- a/ppapi/shared_impl/file_type_conversion.h |
+++ b/ppapi/shared_impl/file_type_conversion.h |
@@ -5,7 +5,7 @@ |
#ifndef PPAPI_SHARED_IMPL_FILE_TYPE_CONVERSION_H_ |
#define PPAPI_SHARED_IMPL_FILE_TYPE_CONVERSION_H_ |
-#include "base/platform_file.h" |
+#include "base/files/file.h" |
#include "ppapi/c/pp_file_info.h" |
#include "ppapi/c/pp_stdint.h" |
#include "ppapi/c/ppb_file_system.h" |
@@ -13,8 +13,7 @@ |
namespace ppapi { |
-PPAPI_SHARED_EXPORT int PlatformFileErrorToPepperError( |
- base::PlatformFileError error_code); |
+PPAPI_SHARED_EXPORT int FileErrorToPepperError(base::File::Error error_code); |
// Converts a PP_FileOpenFlags_Dev flag combination into a corresponding |
// PlatformFileFlags flag combination. |
@@ -23,8 +22,8 @@ PPAPI_SHARED_EXPORT bool PepperFileOpenFlagsToPlatformFileFlags( |
int32_t pp_open_flags, |
int* flags_out); |
-PPAPI_SHARED_EXPORT void PlatformFileInfoToPepperFileInfo( |
- const base::PlatformFileInfo& info, |
+PPAPI_SHARED_EXPORT void FileInfoToPepperFileInfo( |
+ const base::File::Info& info, |
PP_FileSystemType fs_type, |
PP_FileInfo* info_out); |