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

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

Issue 1269863005: MediaController/Call instantiation. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove redundant reset(nullptr) 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 | « no previous file | talk/app/webrtc/mediacontroller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/mediacontroller.h
diff --git a/talk/app/webrtc/mediacontroller.h b/talk/app/webrtc/mediacontroller.h
index 1191206e18dbf9a7f035c9b95761641db2bcf7f3..68798515d00984c586a88fbf8346f75ca96f309b 100644
--- a/talk/app/webrtc/mediacontroller.h
+++ b/talk/app/webrtc/mediacontroller.h
@@ -25,5 +25,25 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// Place holder file to be able to update Chrome's libjingle.gyp before the real
-// implementation goes in.
+#ifndef TALK_APP_WEBRTC_MEDIACONTROLLER_H_
+#define TALK_APP_WEBRTC_MEDIACONTROLLER_H_
+
+#include "webrtc/base/thread.h"
+
+namespace webrtc {
+class Call;
+class VoiceEngine;
+
+// The MediaController currently owns shared state between media channels, but
+// in the future will create and own RtpSenders and RtpReceivers.
+class MediaControllerInterface {
+ public:
+ static MediaControllerInterface* Create(rtc::Thread* worker_thread,
+ webrtc::VoiceEngine* voice_engine);
+
+ virtual ~MediaControllerInterface() {}
+ virtual webrtc::Call* call_w() = 0;
+};
+} // namespace webrtc
+
+#endif // TALK_APP_WEBRTC_MEDIACONTROLLER_H_
« no previous file with comments | « no previous file | talk/app/webrtc/mediacontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698