Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.cc

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_video_decoder_proxy.h ('k') | ppapi/proxy/ppp_class_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_video_decoder_proxy.cc
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.cc b/ppapi/proxy/ppb_video_decoder_proxy.cc
index 023b8c9b3c99da1a88701eff24afe94d1a972b2e..8446ca590f764b541662fd9766f791cf5158311a 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.cc
+++ b/ppapi/proxy/ppb_video_decoder_proxy.cc
@@ -88,7 +88,7 @@ int32_t VideoDecoder::Decode(
FlushCommandBuffer();
GetDispatcher()->Send(new PpapiHostMsg_PPBVideoDecoder_Decode(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource(),
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource(),
host_buffer, bitstream_buffer->id,
bitstream_buffer->size));
return PP_OK_COMPLETIONPENDING;
@@ -101,13 +101,13 @@ void VideoDecoder::AssignPictureBuffers(uint32_t no_of_buffers,
FlushCommandBuffer();
GetDispatcher()->Send(
new PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource(), buffer_list));
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource(), buffer_list));
}
void VideoDecoder::ReusePictureBuffer(int32_t picture_buffer_id) {
FlushCommandBuffer();
GetDispatcher()->Send(new PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource(), picture_buffer_id));
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource(), picture_buffer_id));
}
int32_t VideoDecoder::Flush(PP_CompletionCallback callback) {
@@ -116,7 +116,7 @@ int32_t VideoDecoder::Flush(PP_CompletionCallback callback) {
FlushCommandBuffer();
GetDispatcher()->Send(new PpapiHostMsg_PPBVideoDecoder_Flush(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
return PP_OK_COMPLETIONPENDING;
}
@@ -126,14 +126,14 @@ int32_t VideoDecoder::Reset(PP_CompletionCallback callback) {
FlushCommandBuffer();
GetDispatcher()->Send(new PpapiHostMsg_PPBVideoDecoder_Reset(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
return PP_OK_COMPLETIONPENDING;
}
void VideoDecoder::Destroy() {
FlushCommandBuffer();
GetDispatcher()->Send(new PpapiHostMsg_PPBVideoDecoder_Destroy(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
+ API_ID_PPB_VIDEO_DECODER_DEV, host_resource()));
VideoDecoderImpl::Destroy();
}
@@ -215,7 +215,7 @@ PP_Resource PPB_VideoDecoder_Proxy::CreateProxyResource(
HostResource result;
dispatcher->Send(new PpapiHostMsg_PPBVideoDecoder_Create(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, instance,
+ API_ID_PPB_VIDEO_DECODER_DEV, instance,
host_context, profile, &result));
if (result.is_null())
return 0;
@@ -294,19 +294,19 @@ void PPB_VideoDecoder_Proxy::OnMsgDestroy(const HostResource& decoder) {
void PPB_VideoDecoder_Proxy::SendMsgEndOfBitstreamACKToPlugin(
int32_t result, const HostResource& decoder, int32 id) {
dispatcher()->Send(new PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, decoder, id, result));
+ API_ID_PPB_VIDEO_DECODER_DEV, decoder, id, result));
}
void PPB_VideoDecoder_Proxy::SendMsgFlushACKToPlugin(
int32_t result, const HostResource& decoder) {
dispatcher()->Send(new PpapiMsg_PPBVideoDecoder_FlushACK(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, decoder, result));
+ API_ID_PPB_VIDEO_DECODER_DEV, decoder, result));
}
void PPB_VideoDecoder_Proxy::SendMsgResetACKToPlugin(
int32_t result, const HostResource& decoder) {
dispatcher()->Send(new PpapiMsg_PPBVideoDecoder_ResetACK(
- INTERFACE_ID_PPB_VIDEO_DECODER_DEV, decoder, result));
+ API_ID_PPB_VIDEO_DECODER_DEV, decoder, result));
}
void PPB_VideoDecoder_Proxy::OnMsgEndOfBitstreamACK(
« no previous file with comments | « ppapi/proxy/ppb_video_decoder_proxy.h ('k') | ppapi/proxy/ppp_class_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698