| Index: trunk/src/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc
|
| ===================================================================
|
| --- trunk/src/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc (revision 221543)
|
| +++ trunk/src/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc (working copy)
|
| @@ -90,16 +90,21 @@
|
| ppapi::host::ReplyMessageContext reply_context) {
|
| host_->SendReply(reply_context,
|
| PpapiPluginMsg_FileRef_GetAbsolutePathReply(path_.AsUTF8Unsafe()));
|
| -
|
| - // Use PP_OK_COMPLETIONPENDING instead of PP_OK since we've already sent our
|
| - // reply above.
|
| - return PP_OK_COMPLETIONPENDING;
|
| + return PP_OK;
|
| }
|
|
|
| fileapi::FileSystemURL PepperExternalFileRefBackend::GetFileSystemURL() const {
|
| return fileapi::FileSystemURL();
|
| }
|
|
|
| +std::string PepperExternalFileRefBackend::GetFileSystemURLSpec() const {
|
| + return std::string();
|
| +}
|
| +
|
| +base::FilePath PepperExternalFileRefBackend::GetExternalPath() const {
|
| + return path_;
|
| +}
|
| +
|
| int32_t PepperExternalFileRefBackend::CanRead() const {
|
| if (!ChildProcessSecurityPolicyImpl::GetInstance()->
|
| CanReadFile(render_process_id_, path_)) {
|
|
|