Index: content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc b/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc |
index 3d191461c436ff501e558e0efcae16fdbc82b413..79c312d7e584313e1225a96363eaacbfeefa3eb6 100644 |
--- a/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc |
+++ b/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc |
@@ -86,8 +86,8 @@ PepperInternalFileRefBackend::GetFileSystemContext() const { |
void PepperInternalFileRefBackend::DidFinish( |
ppapi::host::ReplyMessageContext context, |
const IPC::Message& msg, |
- base::PlatformFileError error) { |
- context.params.set_result(ppapi::PlatformFileErrorToPepperError(error)); |
+ base::File::Error error) { |
+ context.params.set_result(ppapi::FileErrorToPepperError(error)); |
host_->SendReply(context, msg); |
} |
@@ -179,13 +179,13 @@ int32_t PepperInternalFileRefBackend::Query( |
void PepperInternalFileRefBackend::GetMetadataComplete( |
ppapi::host::ReplyMessageContext reply_context, |
- base::PlatformFileError error, |
- const base::PlatformFileInfo& file_info) { |
- reply_context.params.set_result(ppapi::PlatformFileErrorToPepperError(error)); |
+ base::File::Error error, |
+ const base::File::Info& file_info) { |
+ reply_context.params.set_result(ppapi::FileErrorToPepperError(error)); |
PP_FileInfo pp_file_info; |
- if (error == base::PLATFORM_FILE_OK) |
- ppapi::PlatformFileInfoToPepperFileInfo(file_info, fs_type_, &pp_file_info); |
+ if (error == base::File::FILE_OK) |
+ ppapi::FileInfoToPepperFileInfo(file_info, fs_type_, &pp_file_info); |
else |
memset(&pp_file_info, 0, sizeof(pp_file_info)); |
@@ -208,17 +208,17 @@ int32_t PepperInternalFileRefBackend::ReadDirectoryEntries( |
void PepperInternalFileRefBackend::ReadDirectoryComplete( |
ppapi::host::ReplyMessageContext context, |
- base::PlatformFileError error, |
+ base::File::Error error, |
const fileapi::FileSystemOperation::FileEntryList& file_list, |
bool has_more) { |
// The current filesystem backend always returns false. |
DCHECK(!has_more); |
- context.params.set_result(ppapi::PlatformFileErrorToPepperError(error)); |
+ context.params.set_result(ppapi::FileErrorToPepperError(error)); |
std::vector<ppapi::FileRefCreateInfo> infos; |
std::vector<PP_FileType> file_types; |
- if (error == base::PLATFORM_FILE_OK && fs_host_.get()) { |
+ if (error == base::File::FILE_OK && fs_host_.get()) { |
std::string dir_path = path_; |
if (dir_path.empty() || dir_path[dir_path.size() - 1] != '/') |
dir_path += '/'; |