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

Side by Side Diff: content/renderer/media/webrtc_audio_capturer.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 (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 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const StreamDeviceInfo& device_info, 129 const StreamDeviceInfo& device_info,
130 const blink::WebMediaConstraints& constraints, 130 const blink::WebMediaConstraints& constraints,
131 WebRtcAudioDeviceImpl* audio_device, 131 WebRtcAudioDeviceImpl* audio_device,
132 MediaStreamAudioSource* audio_source); 132 MediaStreamAudioSource* audio_source);
133 133
134 // AudioCapturerSource::CaptureCallback implementation. 134 // AudioCapturerSource::CaptureCallback implementation.
135 // Called on the AudioInputDevice audio thread. 135 // Called on the AudioInputDevice audio thread.
136 virtual void Capture(const media::AudioBus* audio_source, 136 virtual void Capture(const media::AudioBus* audio_source,
137 int audio_delay_milliseconds, 137 int audio_delay_milliseconds,
138 double volume, 138 double volume,
139 bool key_pressed) OVERRIDE; 139 bool key_pressed) override;
140 virtual void OnCaptureError() OVERRIDE; 140 virtual void OnCaptureError() override;
141 141
142 // Initializes the default audio capturing source using the provided render 142 // Initializes the default audio capturing source using the provided render
143 // view id and device information. Return true if success, otherwise false. 143 // view id and device information. Return true if success, otherwise false.
144 bool Initialize(); 144 bool Initialize();
145 145
146 // SetCapturerSource() is called if the client on the source side desires to 146 // SetCapturerSource() is called if the client on the source side desires to
147 // provide their own captured audio data. Client is responsible for calling 147 // provide their own captured audio data. Client is responsible for calling
148 // Start() on its own source to have the ball rolling. 148 // Start() on its own source to have the ball rolling.
149 // Called on the main render thread. 149 // Called on the main render thread.
150 void SetCapturerSource( 150 void SetCapturerSource(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 // Records when the last time audio power level is logged. 223 // Records when the last time audio power level is logged.
224 base::TimeTicks last_audio_level_log_time_; 224 base::TimeTicks last_audio_level_log_time_;
225 225
226 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer); 226 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer);
227 }; 227 };
228 228
229 } // namespace content 229 } // namespace content
230 230
231 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 231 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc/webrtc_video_track_adapter.h ('k') | content/renderer/media/webrtc_audio_capturer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698