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

Side by Side Diff: content/renderer/media/media_stream_video_capturer_source.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const scoped_refptr<VideoCapturerDelegate>& delegate); 97 const scoped_refptr<VideoCapturerDelegate>& delegate);
98 98
99 virtual ~MediaStreamVideoCapturerSource(); 99 virtual ~MediaStreamVideoCapturerSource();
100 100
101 protected: 101 protected:
102 // Implements MediaStreamVideoSource. 102 // Implements MediaStreamVideoSource.
103 virtual void GetCurrentSupportedFormats( 103 virtual void GetCurrentSupportedFormats(
104 int max_requested_width, 104 int max_requested_width,
105 int max_requested_height, 105 int max_requested_height,
106 double max_requested_frame_rate, 106 double max_requested_frame_rate,
107 const VideoCaptureDeviceFormatsCB& callback) OVERRIDE; 107 const VideoCaptureDeviceFormatsCB& callback) override;
108 108
109 virtual void StartSourceImpl( 109 virtual void StartSourceImpl(
110 const media::VideoCaptureFormat& format, 110 const media::VideoCaptureFormat& format,
111 const VideoCaptureDeliverFrameCB& frame_callback) OVERRIDE; 111 const VideoCaptureDeliverFrameCB& frame_callback) override;
112 112
113 virtual void StopSourceImpl() OVERRIDE; 113 virtual void StopSourceImpl() override;
114 114
115 private: 115 private:
116 // The delegate that provides video frames. 116 // The delegate that provides video frames.
117 scoped_refptr<VideoCapturerDelegate> delegate_; 117 scoped_refptr<VideoCapturerDelegate> delegate_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoCapturerSource); 119 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoCapturerSource);
120 }; 120 };
121 121
122 } // namespace content 122 } // namespace content
123 123
124 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 124 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698