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

Side by Side Diff: content/renderer/gpu_video_decoder_host.cc

Issue 6713005: Move a bunch of gpu/worker/plugin renderer code to content. I temporarily disabled the sad plugi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 "chrome/renderer/gpu_video_decoder_host.h" 5 #include "content/renderer/gpu_video_decoder_host.h"
6 6
7 #include "content/common/gpu_messages.h" 7 #include "content/common/gpu_messages.h"
8 #include "content/common/message_router.h" 8 #include "content/common/message_router.h"
9 #include "media/base/pipeline.h" 9 #include "media/base/pipeline.h"
10 #include "media/video/video_decode_context.h" 10 #include "media/video/video_decode_context.h"
11 11
12 GpuVideoDecoderHost::GpuVideoDecoderHost(MessageRouter* router, 12 GpuVideoDecoderHost::GpuVideoDecoderHost(MessageRouter* router,
13 IPC::Message::Sender* ipc_sender, 13 IPC::Message::Sender* ipc_sender,
14 int context_route_id, 14 int context_route_id,
15 int32 decoder_host_id) 15 int32 decoder_host_id)
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 391
392 DCHECK(found) << "Invalid video frame received"; 392 DCHECK(found) << "Invalid video frame received";
393 if (found && !ipc_sender_->Send( 393 if (found && !ipc_sender_->Send(
394 new GpuVideoDecoderMsg_ProduceVideoFrame(decoder_id_, frame_id))) { 394 new GpuVideoDecoderMsg_ProduceVideoFrame(decoder_id_, frame_id))) {
395 LOG(ERROR) << "GpuVideoDecoderMsg_ProduceVideoFrame failed"; 395 LOG(ERROR) << "GpuVideoDecoderMsg_ProduceVideoFrame failed";
396 } 396 }
397 } 397 }
398 398
399 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderHost); 399 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderHost);
OLDNEW
« no previous file with comments | « content/renderer/gpu_video_decoder_host.h ('k') | content/renderer/gpu_video_decoder_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698