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 0c3bd89c538024c58206aa399cb8c49a124d120f..3b8c801ec1a442d1ab1de14a22668c9048432cd5 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 |
@@ -71,19 +71,6 @@ fileapi::FileSystemURL PepperInternalFileRefBackend::GetFileSystemURL() const { |
return fs_url_; |
} |
-std::string PepperInternalFileRefBackend::GetFileSystemURLSpec() const { |
- if (fs_host_.get() && fs_host_->IsOpened() && |
- fs_host_->GetRootUrl().is_valid()) { |
- return fs_host_->GetRootUrl().Resolve( |
- net::EscapePath(path_.substr(1))).spec(); |
- } |
- return std::string(); |
-} |
- |
-base::FilePath PepperInternalFileRefBackend::GetExternalPath() const { |
- return base::FilePath(); |
-} |
- |
scoped_refptr<fileapi::FileSystemContext> |
PepperInternalFileRefBackend::GetFileSystemContext() const { |
if (!fs_host_.get()) |
@@ -223,7 +210,7 @@ void PepperInternalFileRefBackend::ReadDirectoryComplete( |
context.params.set_result(ppapi::PlatformFileErrorToPepperError(error)); |
- std::vector<ppapi::FileRef_CreateInfo> infos; |
+ std::vector<ppapi::FileRefCreateInfo> infos; |
std::vector<PP_FileType> file_types; |
if (error == base::PLATFORM_FILE_OK && fs_host_.get()) { |
std::string dir_path = path_; |
@@ -237,7 +224,7 @@ void PepperInternalFileRefBackend::ReadDirectoryComplete( |
else |
file_types.push_back(PP_FILETYPE_REGULAR); |
- ppapi::FileRef_CreateInfo info; |
+ ppapi::FileRefCreateInfo info; |
info.file_system_type = fs_type_; |
info.file_system_plugin_resource = fs_host_->pp_resource(); |
std::string path = |