Index: ppapi/shared_impl/resource_var.h |
diff --git a/ppapi/shared_impl/resource_var.h b/ppapi/shared_impl/resource_var.h |
index 0b8bab2354cddd74d62607a1fcf461a71bbc27e0..96d2403c30cd3acd1bf522c5fe2753a7f63eaff1 100644 |
--- a/ppapi/shared_impl/resource_var.h |
+++ b/ppapi/shared_impl/resource_var.h |
@@ -25,6 +25,12 @@ class PPAPI_SHARED_EXPORT ResourceVar : public Var { |
// plugin side. It should be AddRef'd if the resource is passed to the user. |
virtual PP_Resource GetPPResource() const = 0; |
+ // Gets the pending resource host ID in the renderer. |
+ virtual int GetPendingRendererHostId() const; |
+ |
+ // Gets the pending resource host ID in the browser. |
+ virtual int GetPendingBrowserHostId() const; |
+ |
// Gets the message for creating a plugin-side resource. Returns NULL if the |
// message is empty (which is always true on the plugin side). |
virtual const IPC::Message* GetCreationMessage() const; |