diff options
Diffstat (limited to 'ppapi/proxy/enter_proxy.h')
-rw-r--r-- | ppapi/proxy/enter_proxy.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ppapi/proxy/enter_proxy.h b/ppapi/proxy/enter_proxy.h index d7bf7c2..6852780 100644 --- a/ppapi/proxy/enter_proxy.h +++ b/ppapi/proxy/enter_proxy.h @@ -13,11 +13,6 @@ #include "ppapi/thunk/enter.h" namespace ppapi { - -namespace thunk { -class ResourceCreationAPI; -} - namespace proxy { // Wrapper around EnterResourceNoLock that takes a host resource. This is used @@ -120,21 +115,6 @@ class EnterHostFromHostResourceForceCallback RunCallback(PP_ERROR_BADRESOURCE); } - // For callbacks that take two extra parameters as a closure. - template<class CallbackFactory, typename Method, typename A, typename B> - EnterHostFromHostResourceForceCallback( - const HostResource& host_resource, - CallbackFactory& factory, - Method method, - const A& a, - const B& b) - : EnterHostFromHostResource<ResourceT>(host_resource), - needs_running_(true), - callback_(factory.NewOptionalCallback(method, a, b)) { - if (this->failed()) - RunCallback(PP_ERROR_BADRESOURCE); - } - ~EnterHostFromHostResourceForceCallback() { if (needs_running_) { NOTREACHED() << "Should always call SetResult except in the " |