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

Side by Side Diff: content/renderer/media/rtc_video_decoder_factory.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
7 7
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 14 matching lines...) Expand all
25 class CONTENT_EXPORT RTCVideoDecoderFactory 25 class CONTENT_EXPORT RTCVideoDecoderFactory
26 : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) { 26 : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) {
27 public: 27 public:
28 explicit RTCVideoDecoderFactory( 28 explicit RTCVideoDecoderFactory(
29 const scoped_refptr<media::GpuVideoAcceleratorFactories>& gpu_factories); 29 const scoped_refptr<media::GpuVideoAcceleratorFactories>& gpu_factories);
30 virtual ~RTCVideoDecoderFactory(); 30 virtual ~RTCVideoDecoderFactory();
31 31
32 // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while 32 // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while
33 // this runs. 33 // this runs.
34 virtual webrtc::VideoDecoder* CreateVideoDecoder(webrtc::VideoCodecType type) 34 virtual webrtc::VideoDecoder* CreateVideoDecoder(webrtc::VideoCodecType type)
35 OVERRIDE; 35 override;
36 36
37 // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while 37 // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while
38 // this runs. 38 // this runs.
39 virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) OVERRIDE; 39 virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) override;
40 40
41 private: 41 private:
42 scoped_refptr<media::GpuVideoAcceleratorFactories> gpu_factories_; 42 scoped_refptr<media::GpuVideoAcceleratorFactories> gpu_factories_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactory); 44 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactory);
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ 49 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_video_decoder.h ('k') | content/renderer/media/rtc_video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698