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

Side by Side Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.cc

Issue 19463008: Use a direct include of the message_loop header in content/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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/common/gpu/client/gpu_video_decode_accelerator_host.h" 5 #include "content/common/gpu/client/gpu_video_decode_accelerator_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/common/gpu/client/gpu_channel_host.h" 10 #include "content/common/gpu/client/gpu_channel_host.h"
11 #include "content/common/gpu/gpu_messages.h" 11 #include "content/common/gpu/gpu_messages.h"
12 #include "content/common/view_messages.h" 12 #include "content/common/view_messages.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
16 #if defined(OS_WIN) 16 #if defined(OS_WIN)
17 #include "content/public/common/sandbox_init.h" 17 #include "content/public/common/sandbox_init.h"
18 #endif // OS_WIN 18 #endif // OS_WIN
19 19
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void GpuVideoDecodeAcceleratorHost::OnErrorNotification(uint32 error) { 218 void GpuVideoDecodeAcceleratorHost::OnErrorNotification(uint32 error) {
219 DCHECK(CalledOnValidThread()); 219 DCHECK(CalledOnValidThread());
220 if (!client_) 220 if (!client_)
221 return; 221 return;
222 client_->NotifyError( 222 client_->NotifyError(
223 static_cast<media::VideoDecodeAccelerator::Error>(error)); 223 static_cast<media::VideoDecodeAccelerator::Error>(error));
224 client_ = NULL; 224 client_ = NULL;
225 } 225 }
226 226
227 } // namespace content 227 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698