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

Side by Side Diff: chrome/gpu/gpu_video_decoder.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 4 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
« no previous file with comments | « chrome/gpu/gpu_thread.cc ('k') | chrome/gpu/gpu_view_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/gpu/gpu_video_decoder.h"
6
5 #include "chrome/common/gpu_messages.h" 7 #include "chrome/common/gpu_messages.h"
6 #include "chrome/gpu/gpu_channel.h" 8 #include "chrome/gpu/gpu_channel.h"
7 #include "chrome/gpu/gpu_video_decoder.h"
8 #include "media/base/data_buffer.h" 9 #include "media/base/data_buffer.h"
10 #include "media/base/video_frame.h"
9 11
10 void GpuVideoDecoder::OnChannelConnected(int32 peer_pid) { 12 void GpuVideoDecoder::OnChannelConnected(int32 peer_pid) {
11 } 13 }
12 14
13 void GpuVideoDecoder::OnChannelError() { 15 void GpuVideoDecoder::OnChannelError() {
14 } 16 }
15 17
16 void GpuVideoDecoder::OnMessageReceived(const IPC::Message& msg) { 18 void GpuVideoDecoder::OnMessageReceived(const IPC::Message& msg) {
17 IPC_BEGIN_MESSAGE_MAP(GpuVideoDecoder, msg) 19 IPC_BEGIN_MESSAGE_MAP(GpuVideoDecoder, msg)
18 IPC_MESSAGE_HANDLER(GpuVideoDecoderMsg_Initialize, 20 IPC_MESSAGE_HANDLER(GpuVideoDecoderMsg_Initialize,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 } 309 }
308 310
309 void GpuVideoDecoder::SendFillBufferDone( 311 void GpuVideoDecoder::SendFillBufferDone(
310 const GpuVideoDecoderOutputBufferParam& frame) { 312 const GpuVideoDecoderOutputBufferParam& frame) {
311 if (!channel_->Send( 313 if (!channel_->Send(
312 new GpuVideoDecoderHostMsg_FillThisBufferDone(route_id(), frame))) { 314 new GpuVideoDecoderHostMsg_FillThisBufferDone(route_id(), frame))) {
313 LOG(ERROR) << "GpuVideoDecoderMsg_FillThisBufferDone failed"; 315 LOG(ERROR) << "GpuVideoDecoderMsg_FillThisBufferDone failed";
314 } 316 }
315 } 317 }
316 318
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_thread.cc ('k') | chrome/gpu/gpu_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698