| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/pepper/ppb_video_decoder_impl.h" | 5 #include "content/renderer/pepper/ppb_video_decoder_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram_macros.h" |
| 12 #include "content/renderer/pepper/host_globals.h" | 12 #include "content/renderer/pepper/host_globals.h" |
| 13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
| 14 #include "content/renderer/pepper/plugin_module.h" | 14 #include "content/renderer/pepper/plugin_module.h" |
| 15 #include "content/renderer/pepper/ppb_buffer_impl.h" | 15 #include "content/renderer/pepper/ppb_buffer_impl.h" |
| 16 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" | 16 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" |
| 17 #include "content/renderer/render_thread_impl.h" | 17 #include "content/renderer/render_thread_impl.h" |
| 18 #include "gpu/ipc/client/command_buffer_proxy_impl.h" | 18 #include "gpu/ipc/client/command_buffer_proxy_impl.h" |
| 19 #include "media/gpu/ipc/client/gpu_video_decode_accelerator_host.h" | 19 #include "media/gpu/ipc/client/gpu_video_decode_accelerator_host.h" |
| 20 #include "media/video/picture.h" | 20 #include "media/video/picture.h" |
| 21 #include "media/video/video_decode_accelerator.h" | 21 #include "media/video/video_decode_accelerator.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 DCHECK(RenderThreadImpl::current()); | 297 DCHECK(RenderThreadImpl::current()); |
| 298 RunBitstreamBufferCallback(bitstream_buffer_id, PP_OK); | 298 RunBitstreamBufferCallback(bitstream_buffer_id, PP_OK); |
| 299 } | 299 } |
| 300 | 300 |
| 301 void PPB_VideoDecoder_Impl::NotifyFlushDone() { | 301 void PPB_VideoDecoder_Impl::NotifyFlushDone() { |
| 302 DCHECK(RenderThreadImpl::current()); | 302 DCHECK(RenderThreadImpl::current()); |
| 303 RunFlushCallback(PP_OK); | 303 RunFlushCallback(PP_OK); |
| 304 } | 304 } |
| 305 | 305 |
| 306 } // namespace content | 306 } // namespace content |
| OLD | NEW |