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

Unified Diff: webrtc/pc/localaudiosource.h

Issue 2682253002: Remove PC factory options param from LocalAudioSource::Create. (Closed)
Patch Set: Rebase onto master Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/pc/localaudiosource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/localaudiosource.h
diff --git a/webrtc/pc/localaudiosource.h b/webrtc/pc/localaudiosource.h
index 58e90af8ae379626a804ed28af660578bfadcf4d..ffa465df3d4a0bc2316bc995c637eee4bd21be75 100644
--- a/webrtc/pc/localaudiosource.h
+++ b/webrtc/pc/localaudiosource.h
@@ -13,7 +13,6 @@
#include "webrtc/api/mediastreaminterface.h"
#include "webrtc/api/notifier.h"
-#include "webrtc/api/peerconnectioninterface.h"
#include "webrtc/media/base/mediachannel.h"
// LocalAudioSource implements AudioSourceInterface.
@@ -27,11 +26,9 @@ class LocalAudioSource : public Notifier<AudioSourceInterface> {
public:
// Creates an instance of LocalAudioSource.
static rtc::scoped_refptr<LocalAudioSource> Create(
- const PeerConnectionFactoryInterface::Options& options,
const MediaConstraintsInterface* constraints);
static rtc::scoped_refptr<LocalAudioSource> Create(
- const PeerConnectionFactoryInterface::Options& options,
const cricket::AudioOptions* audio_options);
SourceState state() const override { return kLive; }
@@ -47,10 +44,8 @@ class LocalAudioSource : public Notifier<AudioSourceInterface> {
~LocalAudioSource() override {}
private:
- void Initialize(const PeerConnectionFactoryInterface::Options& options,
- const MediaConstraintsInterface* constraints);
- void Initialize(const PeerConnectionFactoryInterface::Options& options,
- const cricket::AudioOptions* audio_options);
+ void Initialize(const MediaConstraintsInterface* constraints);
+ void Initialize(const cricket::AudioOptions* audio_options);
cricket::AudioOptions options_;
};
« no previous file with comments | « no previous file | webrtc/pc/localaudiosource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698