Index: content/renderer/pepper/renderer_ppapi_host_impl.h |
=================================================================== |
--- content/renderer/pepper/renderer_ppapi_host_impl.h (revision 213462) |
+++ content/renderer/pepper/renderer_ppapi_host_impl.h (working copy) |
@@ -31,7 +31,7 @@ |
namespace webkit { |
namespace ppapi { |
-class PluginInstance; |
+class PluginInstanceImpl; |
class PluginModule; |
} |
} |
@@ -81,10 +81,13 @@ |
// happen automatically. |
scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
CreateInProcessResourceCreationAPI( |
- webkit::ppapi::PluginInstance* instance); |
+ webkit::ppapi::PluginInstanceImpl* instance); |
PepperBrowserConnection* GetBrowserConnection(PP_Instance instance) const; |
+ webkit::ppapi::PluginInstanceImpl* GetPluginInstanceImpl( |
+ PP_Instance instance) const; |
+ |
// RendererPpapiHost implementation. |
virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; |
virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |
@@ -122,7 +125,7 @@ |
// |
// We use this to security check the PP_Instance values sent from a plugin to |
// make sure it's not trying to spoof another instance. |
- webkit::ppapi::PluginInstance* GetAndValidateInstance( |
+ webkit::ppapi::PluginInstanceImpl* GetAndValidateInstance( |
PP_Instance instance) const; |
webkit::ppapi::PluginModule* module_; // Non-owning pointer. |