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

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

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "content/common/child_process.h" 9 #include "content/child/child_process.h"
10 #include "content/common/gpu/client/gpu_channel_host.h" 10 #include "content/common/gpu/client/gpu_channel_host.h"
11 #include "content/renderer/render_thread_impl.h" 11 #include "content/renderer/render_thread_impl.h"
12 12
13 using media::BitstreamBuffer; 13 using media::BitstreamBuffer;
14 14
15 namespace content { 15 namespace content {
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)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 DCHECK(RenderThreadImpl::current()); 121 DCHECK(RenderThreadImpl::current());
122 client_->NotifyFlushDone(); 122 client_->NotifyFlushDone();
123 } 123 }
124 124
125 void PlatformVideoDecoderImpl::NotifyResetDone() { 125 void PlatformVideoDecoderImpl::NotifyResetDone() {
126 DCHECK(RenderThreadImpl::current()); 126 DCHECK(RenderThreadImpl::current());
127 client_->NotifyResetDone(); 127 client_->NotifyResetDone();
128 } 128 }
129 129
130 } // namespace content 130 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/java/java_bridge_dispatcher.cc ('k') | content/renderer/media/renderer_gpu_video_decoder_factories.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698