Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2767)

Unified Diff: content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_delegate_impl.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc
===================================================================
--- content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc (revision 136613)
+++ 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
+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
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_delegate_impl.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698