OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_encode_accelerator.h" | 5 #include "content/common/gpu/media/gpu_video_encode_accelerator.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 return; | 223 return; |
224 } else if (!channel_->Send(message)) { | 224 } else if (!channel_->Send(message)) { |
225 DLOG(ERROR) << "GpuVideoEncodeAccelerator::Send(): sending failed: " | 225 DLOG(ERROR) << "GpuVideoEncodeAccelerator::Send(): sending failed: " |
226 "message->type()=" << message->type(); | 226 "message->type()=" << message->type(); |
227 NotifyError(media::VideoEncodeAccelerator::kPlatformFailureError); | 227 NotifyError(media::VideoEncodeAccelerator::kPlatformFailureError); |
228 return; | 228 return; |
229 } | 229 } |
230 } | 230 } |
231 | 231 |
232 } // namespace content | 232 } // namespace content |
OLD | NEW |