Index: trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.cc |
=================================================================== |
--- trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.cc (revision 221543) |
+++ trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.cc (working copy) |
@@ -62,9 +62,9 @@ |
} |
fs_type_ = fs_host->GetType(); |
+ // TODO(teravest): Add support for isolated filesystems. |
if ((fs_type_ != PP_FILESYSTEMTYPE_LOCALPERSISTENT) && |
- (fs_type_ != PP_FILESYSTEMTYPE_LOCALTEMPORARY) && |
- (fs_type_ != PP_FILESYSTEMTYPE_ISOLATED)) { |
+ (fs_type_ != PP_FILESYSTEMTYPE_LOCALTEMPORARY)) { |
DLOG(ERROR) << "Unsupported filesystem type: " << fs_type_; |
return; |
} |
@@ -116,6 +116,18 @@ |
return fileapi::FileSystemURL(); |
} |
+std::string PepperFileRefHost::GetFileSystemURLSpec() const { |
+ if (backend_) |
+ return backend_->GetFileSystemURLSpec(); |
+ return std::string(); |
+} |
+ |
+base::FilePath PepperFileRefHost::GetExternalPath() const { |
+ if (backend_) |
+ return backend_->GetExternalPath(); |
+ return base::FilePath(); |
+} |
+ |
int32_t PepperFileRefHost::CanRead() const { |
if (backend_) |
return backend_->CanRead(); |