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

Unified Diff: talk/media/base/fakemediaengine.h

Issue 1324853003: Remove MediaChannel::GetOptions(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 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 | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | talk/media/base/mediachannel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/fakemediaengine.h
diff --git a/talk/media/base/fakemediaengine.h b/talk/media/base/fakemediaengine.h
index de6062b5d4f713f4a7c99ccf0456f2ea35da8a1d..47ec402f18ee0e08e966757404c63d5f1ee6a7e2 100644
--- a/talk/media/base/fakemediaengine.h
+++ b/talk/media/base/fakemediaengine.h
@@ -410,10 +410,6 @@ class FakeVoiceMediaChannel : public RtpHelper<VoiceMediaChannel> {
options_.SetAll(options);
return true;
}
- virtual bool GetOptions(AudioOptions* options) const {
- *options = options_;
- return true;
- }
private:
struct OutputScaling {
@@ -597,10 +593,6 @@ class FakeVideoMediaChannel : public RtpHelper<VideoMediaChannel> {
options_ = options;
return true;
}
- virtual bool GetOptions(VideoOptions* options) const {
- *options = options_;
- return true;
- }
virtual void UpdateAspectRatio(int ratio_w, int ratio_h) {}
void set_sent_intra_frame(bool v) { sent_intra_frame_ = v; }
bool sent_intra_frame() const { return sent_intra_frame_; }
@@ -751,9 +743,6 @@ class FakeVoiceEngine : public FakeBaseEngine {
bool Init(rtc::Thread* worker_thread) { return true; }
void Terminate() {}
int GetCapabilities() { return AUDIO_SEND | AUDIO_RECV; }
- AudioOptions GetAudioOptions() const {
- return options_;
- }
AudioOptions GetOptions() const {
return options_;
}
@@ -862,10 +851,6 @@ class FakeVideoEngine : public FakeBaseEngine {
codecs_.push_back(VideoCodec(0, "fake_video_codec", 0, 0, 0, 0));
}
void Init() {}
- bool GetOptions(VideoOptions* options) const {
- *options = options_;
- return true;
- }
bool SetOptions(const VideoOptions& options) {
options_ = options;
options_changed_ = true;
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | talk/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698