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

Side by Side Diff: content/common/gpu/media/gpu_video_decode_accelerator.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/common/gpu/media/gpu_video_decode_accelerator.h" 5 #include "content/common/gpu/media/gpu_video_decode_accelerator.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util.h"
12 #include "gpu/command_buffer/common/command_buffer.h" 12 #include "gpu/command_buffer/common/command_buffer.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 #include "content/common/gpu/gpu_channel.h" 15 #include "content/common/gpu/gpu_channel.h"
16 #include "content/common/gpu/gpu_command_buffer_stub.h" 16 #include "content/common/gpu/gpu_command_buffer_stub.h"
17 #include "content/common/gpu/gpu_messages.h" 17 #include "content/common/gpu/gpu_messages.h"
18 #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) 18 #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL)
19 #include "content/common/gpu/media/omx_video_decode_accelerator.h" 19 #include "content/common/gpu/media/omx_video_decode_accelerator.h"
20 #include "ui/gfx/gl/gl_surface_egl.h" 20 #include "ui/gfx/gl/gl_surface_egl.h"
21 #endif 21 #endif
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 void GpuVideoDecodeAccelerator::NotifyResetDone() { 244 void GpuVideoDecodeAccelerator::NotifyResetDone() {
245 if (!Send(new AcceleratedVideoDecoderHostMsg_ResetDone(host_route_id_))) 245 if (!Send(new AcceleratedVideoDecoderHostMsg_ResetDone(host_route_id_)))
246 LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ResetDone) failed"; 246 LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ResetDone) failed";
247 } 247 }
248 248
249 bool GpuVideoDecodeAccelerator::Send(IPC::Message* message) { 249 bool GpuVideoDecodeAccelerator::Send(IPC::Message* message) {
250 DCHECK(sender_); 250 DCHECK(sender_);
251 return sender_->Send(message); 251 return sender_->Send(message);
252 } 252 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698