| Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| index 0a30831cb9579dad251ccd12617d4eeee39d67bd..18c40a97c81f85a89243f3ffb7f4636b1719e784 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -978,6 +978,20 @@ base::PlatformFileError PepperPluginDelegateImpl::GetDirContents(
|
| return error;
|
| }
|
|
|
| +base::PlatformFileError PepperPluginDelegateImpl::CreateTemporaryFile(
|
| + base::PlatformFile* file) {
|
| + IPC::PlatformFileForTransit transit_file;
|
| + base::PlatformFileError error;
|
| + IPC::Message* msg = new PepperFileMsg_CreateTemporaryFile(&error,
|
| + &transit_file);
|
| + if (!render_view_->Send(msg)) {
|
| + *file = base::kInvalidPlatformFileValue;
|
| + return base::PLATFORM_FILE_ERROR_FAILED;
|
| + }
|
| + *file = IPC::PlatformFileForTransitToPlatformFile(transit_file);
|
| + return error;
|
| +}
|
| +
|
| void PepperPluginDelegateImpl::SyncGetFileSystemPlatformPath(
|
| const GURL& url, FilePath* platform_path) {
|
| RenderThreadImpl::current()->Send(new FileSystemHostMsg_SyncGetPlatformPath(
|
|
|