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

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

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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) 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_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // Override webrtc::videocapturemodule::VideoCaptureImpl implementation. 31 // Override webrtc::videocapturemodule::VideoCaptureImpl implementation.
32 virtual WebRtc_Word32 StartCapture( 32 virtual WebRtc_Word32 StartCapture(
33 const webrtc::VideoCaptureCapability& capability) OVERRIDE; 33 const webrtc::VideoCaptureCapability& capability) OVERRIDE;
34 virtual WebRtc_Word32 StopCapture() OVERRIDE; 34 virtual WebRtc_Word32 StopCapture() OVERRIDE;
35 virtual bool CaptureStarted() OVERRIDE; 35 virtual bool CaptureStarted() OVERRIDE;
36 virtual WebRtc_Word32 CaptureSettings( 36 virtual WebRtc_Word32 CaptureSettings(
37 webrtc::VideoCaptureCapability& settings) OVERRIDE; 37 webrtc::VideoCaptureCapability& settings) OVERRIDE;
38 38
39 // media::VideoCapture::EventHandler implementation. 39 // media::VideoCapture::EventHandler implementation.
40 virtual void OnStarted(media::VideoCapture* capture); 40 virtual void OnStarted(media::VideoCapture* capture) OVERRIDE;
41 virtual void OnStopped(media::VideoCapture* capture); 41 virtual void OnStopped(media::VideoCapture* capture) OVERRIDE;
42 virtual void OnPaused(media::VideoCapture* capture); 42 virtual void OnPaused(media::VideoCapture* capture) OVERRIDE;
43 virtual void OnError(media::VideoCapture* capture, int error_code); 43 virtual void OnError(media::VideoCapture* capture, int error_code) OVERRIDE;
44 virtual void OnRemoved(media::VideoCapture* capture); 44 virtual void OnRemoved(media::VideoCapture* capture) OVERRIDE;
45 virtual void OnBufferReady( 45 virtual void OnBufferReady(
46 media::VideoCapture* capture, 46 media::VideoCapture* capture,
47 scoped_refptr<media::VideoCapture::VideoFrameBuffer> buf); 47 scoped_refptr<media::VideoCapture::VideoFrameBuffer> buf) OVERRIDE;
48 virtual void OnDeviceInfoReceived( 48 virtual void OnDeviceInfoReceived(
49 media::VideoCapture* capture, 49 media::VideoCapture* capture,
50 const media::VideoCaptureParams& device_info); 50 const media::VideoCaptureParams& device_info) OVERRIDE;
51 51
52 private: 52 private:
53 virtual ~VideoCaptureModuleImpl(); 53 virtual ~VideoCaptureModuleImpl();
54 void Init(); 54 void Init();
55 55
56 void StartCaptureOnCaptureThread( 56 void StartCaptureOnCaptureThread(
57 const webrtc::VideoCaptureCapability& capability); 57 const webrtc::VideoCaptureCapability& capability);
58 void StopCaptureOnCaptureThread(); 58 void StopCaptureOnCaptureThread();
59 void StartCaptureInternal(const webrtc::VideoCaptureCapability& capability); 59 void StartCaptureInternal(const webrtc::VideoCaptureCapability& capability);
60 60
(...skipping 17 matching lines...) Expand all
78 webrtc::VideoCaptureCapability frameInfo_; 78 webrtc::VideoCaptureCapability frameInfo_;
79 base::Time start_time_; 79 base::Time start_time_;
80 // The video capture module generating raw frame data. 80 // The video capture module generating raw frame data.
81 media::VideoCapture* capture_engine_; 81 media::VideoCapture* capture_engine_;
82 int ref_count_; 82 int ref_count_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(VideoCaptureModuleImpl); 84 DISALLOW_COPY_AND_ASSIGN(VideoCaptureModuleImpl);
85 }; 85 };
86 86
87 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_ 87 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_MODULE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_message_filter.h ('k') | content/renderer/media/webrtc_audio_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698