| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gpu_video_decode_accelerator_host.h" | 5 #include "content/renderer/gpu/gpu_video_decode_accelerator_host.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "content/common/gpu/gpu_messages.h" | 10 #include "content/common/gpu/gpu_messages.h" |
| 11 #include "content/common/view_messages.h" | 11 #include "content/common/view_messages.h" |
| 12 #include "content/renderer/render_thread.h" | 12 #include "content/renderer/render_thread.h" |
| 13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 14 #include "ipc/ipc_message_utils.h" | 14 #include "ipc/ipc_message_utils.h" |
| 15 | 15 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 } | 192 } |
| 193 | 193 |
| 194 void GpuVideoDecodeAcceleratorHost::OnEndOfStream() { | 194 void GpuVideoDecodeAcceleratorHost::OnEndOfStream() { |
| 195 client_->NotifyEndOfStream(); | 195 client_->NotifyEndOfStream(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 void GpuVideoDecodeAcceleratorHost::OnErrorNotification(uint32 error) { | 198 void GpuVideoDecodeAcceleratorHost::OnErrorNotification(uint32 error) { |
| 199 client_->NotifyError( | 199 client_->NotifyError( |
| 200 static_cast<media::VideoDecodeAccelerator::Error>(error)); | 200 static_cast<media::VideoDecodeAccelerator::Error>(error)); |
| 201 } | 201 } |
| OLD | NEW |