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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 11722017: Use an explicit PID for duplicating Pepper handles rather than the Channel's. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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
Index: content/renderer/pepper/pepper_plugin_delegate_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h
index e5513fa5b6a71ca70a0682e37d536d4a2c543d0a..16ea3ab2e87753509b0ece46d1a309d822047b22 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h
@@ -77,6 +77,7 @@ class PepperPluginDelegateImpl
const FilePath& path,
ppapi::PpapiPermissions permissions,
const IPC::ChannelHandle& channel_handle,
+ base::ProcessId plugin_pid,
int plugin_child_id);
// Removes broker from pending_connect_broker_ if present. Returns true if so.
@@ -119,6 +120,7 @@ class PepperPluginDelegateImpl
int message_id) OVERRIDE;
virtual void OnPpapiBrokerChannelCreated(
int request_id,
+ base::ProcessId broker_pid,
const IPC::ChannelHandle& handle) OVERRIDE;
virtual void OnPpapiBrokerPermissionResult(int request_id,
bool result) OVERRIDE;
@@ -412,6 +414,7 @@ class PepperPluginDelegateImpl
const FilePath& path,
ppapi::PpapiPermissions permissions,
const IPC::ChannelHandle& channel_handle,
+ base::ProcessId plugin_pid,
int plugin_child_id,
bool is_external);
« no previous file with comments | « content/renderer/pepper/pepper_broker_impl_unittest.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698