summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_video_decoder_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
commitbe0a84b5a8b1e4e801788fc5d4f42037a88f8c45 (patch)
tree4033971ac6f11af82464359f4f4e55015eb926f0 /ppapi/proxy/ppb_video_decoder_proxy.h
parent5e6c226780eb1617aa9ed980c627af66685d52e4 (diff)
downloadchromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.zip
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.gz
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.bz2
Move host resource from the proxy to the shared_impl.
This is needed by my new unified resoruce tracker, which will use this file from the shared_impl in the new resource base object. I fixed up the namespaces for the callers. Longer term, I want to put the proxy in the ppapi namespace which will eliminate some of this mess. Review URL: http://codereview.chromium.org/7623018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_video_decoder_proxy.h')
-rw-r--r--ppapi/proxy/ppb_video_decoder_proxy.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.h b/ppapi/proxy/ppb_video_decoder_proxy.h
index 134fec7..e7c0457 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.h
+++ b/ppapi/proxy/ppb_video_decoder_proxy.h
@@ -37,37 +37,38 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
private:
// Message handlers in the renderer process to receive messages from the
// plugin process.
- void OnMsgCreate(PP_Instance instance, const HostResource& context3d_id,
+ void OnMsgCreate(PP_Instance instance,
+ const ppapi::HostResource& context3d_id,
const std::vector<PP_VideoConfigElement>& config,
- HostResource* result);
+ ppapi::HostResource* result);
void OnMsgDecode(
- const HostResource& decoder,
- const HostResource& buffer, int32 id, int32 size);
+ const ppapi::HostResource& decoder,
+ const ppapi::HostResource& buffer, int32 id, int32 size);
void OnMsgAssignPictureBuffers(
- const HostResource& decoder,
+ const ppapi::HostResource& decoder,
const std::vector<PP_PictureBuffer_Dev>& buffers);
void OnMsgReusePictureBuffer(
- const HostResource& decoder,
+ const ppapi::HostResource& decoder,
int32 picture_buffer_id);
- void OnMsgFlush(const HostResource& decoder);
- void OnMsgReset(const HostResource& decoder);
- void OnMsgDestroy(const HostResource& decoder);
+ void OnMsgFlush(const ppapi::HostResource& decoder);
+ void OnMsgReset(const ppapi::HostResource& decoder);
+ void OnMsgDestroy(const ppapi::HostResource& decoder);
// Send a message from the renderer process to the plugin process to tell it
// to run its callback.
void SendMsgEndOfBitstreamACKToPlugin(
- int32_t result, const HostResource& decoder, int32 id);
+ int32_t result, const ppapi::HostResource& decoder, int32 id);
void SendMsgFlushACKToPlugin(
- int32_t result, const HostResource& decoder);
+ int32_t result, const ppapi::HostResource& decoder);
void SendMsgResetACKToPlugin(
- int32_t result, const HostResource& decoder);
+ int32_t result, const ppapi::HostResource& decoder);
// Message handlers in the plugin process to receive messages from the
// renderer process.
- void OnMsgEndOfBitstreamACK(const HostResource& decoder,
+ void OnMsgEndOfBitstreamACK(const ppapi::HostResource& decoder,
int32_t id, int32_t result);
- void OnMsgFlushACK(const HostResource& decoder, int32_t result);
- void OnMsgResetACK(const HostResource& decoder, int32_t result);
+ void OnMsgFlushACK(const ppapi::HostResource& decoder, int32_t result);
+ void OnMsgResetACK(const ppapi::HostResource& decoder, int32_t result);
CompletionCallbackFactory<PPB_VideoDecoder_Proxy,
ProxyNonThreadSafeRefCount> callback_factory_;