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

Unified Diff: talk/app/webrtc/fakemediacontroller.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 | talk/app/webrtc/mediacontroller.h » ('j') | talk/app/webrtc/mediacontroller.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/fakemediacontroller.h
diff --git a/talk/app/webrtc/fakemediacontroller.h b/talk/app/webrtc/fakemediacontroller.h
index 5bf3e5fcf8556b914436c948d887468241ae2fae..028ad1718005a5f65287d80e2797297c88c2cb17 100644
--- a/talk/app/webrtc/fakemediacontroller.h
+++ b/talk/app/webrtc/fakemediacontroller.h
@@ -46,6 +46,10 @@ class FakeMediaController : public webrtc::MediaControllerInterface {
cricket::ChannelManager* channel_manager() const override {
return channel_manager_;
}
+ const webrtc::MediaConfig* config() const override {
pthatcher1 2016/02/05 17:11:30 I'd say make it a reference.
+ static const webrtc::MediaConfig media_config = webrtc::MediaConfig();
+ return &media_config;
+ }
private:
cricket::ChannelManager* channel_manager_;
« no previous file with comments | « no previous file | talk/app/webrtc/mediacontroller.h » ('j') | talk/app/webrtc/mediacontroller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698