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

Side by Side Diff: content/renderer/media/pepper_platform_video_decoder_impl.cc

Issue 9340012: Move gpu client files to content_common, in content/common/gpu/client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded enums Created 8 years, 10 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/renderer/media/pepper_platform_video_decoder_impl.h" 5 #include "content/renderer/media/pepper_platform_video_decoder_impl.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 "content/common/child_process.h" 11 #include "content/common/child_process.h"
12 #include "content/renderer/gpu/gpu_channel_host.h" 12 #include "content/common/gpu/client/gpu_channel_host.h"
13 #include "content/renderer/render_thread_impl.h" 13 #include "content/renderer/render_thread_impl.h"
14 14
15 using media::BitstreamBuffer; 15 using media::BitstreamBuffer;
16 16
17 PlatformVideoDecoderImpl::PlatformVideoDecoderImpl( 17 PlatformVideoDecoderImpl::PlatformVideoDecoderImpl(
18 VideoDecodeAccelerator::Client* client, 18 VideoDecodeAccelerator::Client* client,
19 int32 command_buffer_route_id) 19 int32 command_buffer_route_id)
20 : client_(client), 20 : client_(client),
21 command_buffer_route_id_(command_buffer_route_id) { 21 command_buffer_route_id_(command_buffer_route_id) {
22 DCHECK(client); 22 DCHECK(client);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 void PlatformVideoDecoderImpl::NotifyFlushDone() { 118 void PlatformVideoDecoderImpl::NotifyFlushDone() {
119 DCHECK(RenderThreadImpl::current()); 119 DCHECK(RenderThreadImpl::current());
120 client_->NotifyFlushDone(); 120 client_->NotifyFlushDone();
121 } 121 }
122 122
123 void PlatformVideoDecoderImpl::NotifyResetDone() { 123 void PlatformVideoDecoderImpl::NotifyResetDone() {
124 DCHECK(RenderThreadImpl::current()); 124 DCHECK(RenderThreadImpl::current());
125 client_->NotifyResetDone(); 125 client_->NotifyResetDone();
126 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698