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

Unified Diff: webrtc/api/fakemediacontroller.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed test nit; use reference. Created 4 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/api/mediacontroller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/fakemediacontroller.h
diff --git a/webrtc/api/fakemediacontroller.h b/webrtc/api/fakemediacontroller.h
index 56af5cfe38e71af8b514c8dd9084afec956a19cb..2e539e813aa431f6538060a768a30bb132a45843 100644
--- a/webrtc/api/fakemediacontroller.h
+++ b/webrtc/api/fakemediacontroller.h
@@ -13,6 +13,7 @@
#include "webrtc/api/mediacontroller.h"
#include "webrtc/base/checks.h"
+#include "webrtc/media/base/mediachannel.h"
namespace cricket {
@@ -29,8 +30,10 @@ class FakeMediaController : public webrtc::MediaControllerInterface {
cricket::ChannelManager* channel_manager() const override {
return channel_manager_;
}
+ const MediaConfig& config() const override { return media_config_; }
private:
+ const MediaConfig media_config_ = MediaConfig();
cricket::ChannelManager* channel_manager_;
webrtc::Call* call_;
};
« no previous file with comments | « no previous file | webrtc/api/mediacontroller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698