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

Side by Side Diff: content/renderer/pepper_platform_video_decoder_impl.h

Issue 7149008: Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix nits Created 9 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
« no previous file with comments | « content/renderer/p2p/p2p_transport_impl.h ('k') | content/renderer/v8_value_converter.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) 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 #ifndef CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/scoped_ptr.h"
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "media/video/video_decode_accelerator.h" 13 #include "media/video/video_decode_accelerator.h"
14 #include "webkit/plugins/ppapi/plugin_delegate.h" 14 #include "webkit/plugins/ppapi/plugin_delegate.h"
15 15
16 class GpuChannelHost; 16 class GpuChannelHost;
17 17
18 class PlatformVideoDecoderImpl 18 class PlatformVideoDecoderImpl
19 : public webkit::ppapi::PluginDelegate::PlatformVideoDecoder, 19 : public webkit::ppapi::PluginDelegate::PlatformVideoDecoder,
20 public media::VideoDecodeAccelerator::Client, 20 public media::VideoDecodeAccelerator::Client,
21 public base::RefCountedThreadSafe<PlatformVideoDecoderImpl> { 21 public base::RefCountedThreadSafe<PlatformVideoDecoderImpl> {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // PlatformVideoDecoderImpl must extend RefCountedThreadSafe in order to post 79 // PlatformVideoDecoderImpl must extend RefCountedThreadSafe in order to post
80 // tasks on the IO loop. However, it is not actually ref counted: 80 // tasks on the IO loop. However, it is not actually ref counted:
81 // PPB_VideoDecode_Impl is the only thing that holds reference to 81 // PPB_VideoDecode_Impl is the only thing that holds reference to
82 // PlatformVideoDecoderImpl, so ref counting is unnecessary. 82 // PlatformVideoDecoderImpl, so ref counting is unnecessary.
83 // 83 //
84 // TODO(vrk): Not sure if this is the right thing to do. Talk with fischman. 84 // TODO(vrk): Not sure if this is the right thing to do. Talk with fischman.
85 DISABLE_RUNNABLE_METHOD_REFCOUNT(PlatformVideoDecoderImpl); 85 DISABLE_RUNNABLE_METHOD_REFCOUNT(PlatformVideoDecoderImpl);
86 86
87 #endif // CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ 87 #endif // CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/p2p_transport_impl.h ('k') | content/renderer/v8_value_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698