Index: content/child/plugin_param_traits.h |
diff --git a/content/child/plugin_param_traits.h b/content/child/plugin_param_traits.h |
index b8495c63f87a08229c0bb66d23cb7f25357f3c5d..4e45b038c5aabc07164665000c7de02659cdc2c8 100644 |
--- a/content/child/plugin_param_traits.h |
+++ b/content/child/plugin_param_traits.h |
@@ -31,7 +31,9 @@ enum NPVariant_ParamEnum { |
NPVARIANT_PARAM_DOUBLE, |
NPVARIANT_PARAM_STRING, |
// Used when when the NPObject is running in the caller's process, so we |
- // create an NPObjectProxy in the other process. |
+ // create an NPObjectProxy in the other process. To support object ownership |
+ // tracking the routing-Id of the NPObject's owning plugin instance is |
+ // passed alongside that of the object itself. |
NPVARIANT_PARAM_SENDER_OBJECT_ROUTING_ID, |
// Used when the NPObject we're sending is running in the callee's process |
// (i.e. we have an NPObjectProxy for it). In that case we want the callee |
@@ -49,6 +51,7 @@ struct NPVariant_Param { |
double double_value; |
std::string string_value; |
int npobject_routing_id; |
+ int npobject_owner_id; |
}; |
struct NPIdentifier_Param { |