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

Unified Diff: ppapi/proxy/ppp_video_decoder_proxy.cc

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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/ppp_video_decoder_proxy.h ('k') | ppapi/tests/arch_dependent_sizes_32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_video_decoder_proxy.cc
diff --git a/ppapi/proxy/ppp_video_decoder_proxy.cc b/ppapi/proxy/ppp_video_decoder_proxy.cc
index d0cb1f32b27db8c6329d7e10cdf6331e61f4e94b..ec431ab74cacca45cf5c7f7bdb717f9479037b60 100644
--- a/ppapi/proxy/ppp_video_decoder_proxy.cc
+++ b/ppapi/proxy/ppp_video_decoder_proxy.cc
@@ -53,15 +53,6 @@ void PictureReady(PP_Instance instance, PP_Resource decoder,
API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource, *picture));
}
-void EndOfStream(PP_Instance instance, PP_Resource decoder) {
- HostResource decoder_resource;
- decoder_resource.SetHostResource(instance, decoder);
-
- HostDispatcher::GetForInstance(instance)->Send(
- new PpapiMsg_PPPVideoDecoder_NotifyEndOfStream(
- API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource));
-}
-
void NotifyError(PP_Instance instance, PP_Resource decoder,
PP_VideoDecodeError_Dev error) {
HostResource decoder_resource;
@@ -76,7 +67,6 @@ static const PPP_VideoDecoder_Dev video_decoder_interface = {
&ProvidePictureBuffers,
&DismissPictureBuffer,
&PictureReady,
- &EndOfStream,
&NotifyError
};
@@ -119,8 +109,6 @@ bool PPP_VideoDecoder_Proxy::OnMessageReceived(const IPC::Message& msg) {
OnMsgDismissPictureBuffer)
IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_PictureReady,
OnMsgPictureReady)
- IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_NotifyEndOfStream,
- OnMsgNotifyEndOfStream)
IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_NotifyError,
OnMsgNotifyError)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -154,14 +142,6 @@ void PPP_VideoDecoder_Proxy::OnMsgPictureReady(
decoder.instance(), plugin_decoder, &picture);
}
-void PPP_VideoDecoder_Proxy::OnMsgNotifyEndOfStream(
- const HostResource& decoder) {
- PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
- PluginResourceForHostResource(decoder);
- ppp_video_decoder_impl_->EndOfStream(decoder.instance(),
- plugin_decoder);
-}
-
void PPP_VideoDecoder_Proxy::OnMsgNotifyError(
const HostResource& decoder, PP_VideoDecodeError_Dev error) {
PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
« no previous file with comments | « ppapi/proxy/ppp_video_decoder_proxy.h ('k') | ppapi/tests/arch_dependent_sizes_32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698