Index: content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc |
=================================================================== |
--- content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc (revision 136164) |
+++ content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc (working copy) |
@@ -5,6 +5,7 @@ |
#include "content/renderer/pepper/pepper_proxy_channel_delegate_impl.h" |
#include "content/common/child_process.h" |
+#include "content/public/common/sandbox_init.h" |
namespace content { |
@@ -22,4 +23,13 @@ |
return ChildProcess::current()->GetShutDownEvent(); |
} |
+IPC::PlatformFileForTransit |
jschuh
2012/05/10 00:10:57
Just wraps the new content method.
|
+PepperProxyChannelDelegateImpl::ShareHandleWithRemote( |
+ base::PlatformFile handle, |
+ const IPC::SyncChannel& channel, |
+ bool should_close_source) { |
+ return content::BrokerGetFileHandleForProcess(handle, channel.peer_pid(), |
+ should_close_source); |
+} |
+ |
} // namespace content |