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

Side by Side Diff: content/renderer/media/media_stream_audio_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_AUDIO_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_SOURCE_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_SOURCE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/renderer/media/media_stream_source.h" 10 #include "content/renderer/media/media_stream_source.h"
(...skipping 28 matching lines...) Expand all
39 39
40 const scoped_refptr<WebRtcAudioCapturer>& GetAudioCapturer() { 40 const scoped_refptr<WebRtcAudioCapturer>& GetAudioCapturer() {
41 return audio_capturer_; 41 return audio_capturer_;
42 } 42 }
43 43
44 webrtc::AudioSourceInterface* local_audio_source() { 44 webrtc::AudioSourceInterface* local_audio_source() {
45 return local_audio_source_.get(); 45 return local_audio_source_.get();
46 } 46 }
47 47
48 protected: 48 protected:
49 virtual void DoStopSource() OVERRIDE; 49 virtual void DoStopSource() override;
50 50
51 private: 51 private:
52 const int render_view_id_; // Render view ID that created this source. 52 const int render_view_id_; // Render view ID that created this source.
53 PeerConnectionDependencyFactory* const factory_; 53 PeerConnectionDependencyFactory* const factory_;
54 54
55 // This member holds an instance of webrtc::LocalAudioSource. This is used 55 // This member holds an instance of webrtc::LocalAudioSource. This is used
56 // as a container for audio options. 56 // as a container for audio options.
57 scoped_refptr<webrtc::AudioSourceInterface> local_audio_source_; 57 scoped_refptr<webrtc::AudioSourceInterface> local_audio_source_;
58 58
59 scoped_refptr<WebRtcAudioCapturer> audio_capturer_; 59 scoped_refptr<WebRtcAudioCapturer> audio_capturer_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioSource); 61 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioSource);
62 }; 62 };
63 63
64 } // namespace content 64 } // namespace content
65 65
66 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_SOURCE_H_ 66 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_SOURCE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_sink_owner.h ('k') | content/renderer/media/media_stream_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698