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

Side by Side Diff: content/renderer/media/webrtc/peer_connection_dependency_factory.h

Issue 670683003: Standardize usage of virtual/override/final 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_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 static void AddNativeAudioTrackToBlinkTrack( 126 static void AddNativeAudioTrackToBlinkTrack(
127 webrtc::MediaStreamTrackInterface* native_track, 127 webrtc::MediaStreamTrackInterface* native_track,
128 const blink::WebMediaStreamTrack& webkit_track, 128 const blink::WebMediaStreamTrack& webkit_track,
129 bool is_local_track); 129 bool is_local_track);
130 130
131 scoped_refptr<base::MessageLoopProxy> GetWebRtcWorkerThread() const; 131 scoped_refptr<base::MessageLoopProxy> GetWebRtcWorkerThread() const;
132 132
133 // AecDumpMessageFilter::AecDumpDelegate implementation. 133 // AecDumpMessageFilter::AecDumpDelegate implementation.
134 // TODO(xians): Remove when option to disable audio track processing is 134 // TODO(xians): Remove when option to disable audio track processing is
135 // removed. 135 // removed.
136 virtual void OnAecDumpFile( 136 void OnAecDumpFile(const IPC::PlatformFileForTransit& file_handle) override;
137 const IPC::PlatformFileForTransit& file_handle) override; 137 void OnDisableAecDump() override;
138 virtual void OnDisableAecDump() override; 138 void OnIpcClosing() override;
139 virtual void OnIpcClosing() override;
140 139
141 protected: 140 protected:
142 // Asks the PeerConnection factory to create a Local Audio Source. 141 // Asks the PeerConnection factory to create a Local Audio Source.
143 virtual scoped_refptr<webrtc::AudioSourceInterface> 142 virtual scoped_refptr<webrtc::AudioSourceInterface>
144 CreateLocalAudioSource( 143 CreateLocalAudioSource(
145 const webrtc::MediaConstraintsInterface* constraints); 144 const webrtc::MediaConstraintsInterface* constraints);
146 145
147 // Creates a media::AudioCapturerSource with an implementation that is 146 // Creates a media::AudioCapturerSource with an implementation that is
148 // specific for a WebAudio source. The created WebAudioCapturerSource 147 // specific for a WebAudio source. The created WebAudioCapturerSource
149 // instance will function as audio source instead of the default 148 // instance will function as audio source instead of the default
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 rtc::Thread* signaling_thread_; 208 rtc::Thread* signaling_thread_;
210 rtc::Thread* worker_thread_; 209 rtc::Thread* worker_thread_;
211 base::Thread chrome_worker_thread_; 210 base::Thread chrome_worker_thread_;
212 211
213 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory); 212 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory);
214 }; 213 };
215 214
216 } // namespace content 215 } // namespace content
217 216
218 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 217 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698