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

Unified Diff: webrtc/api/mediacontroller.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « webrtc/api/mediaconstraintsinterface_unittest.cc ('k') | webrtc/api/mediacontroller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediacontroller.h
diff --git a/webrtc/api/mediacontroller.h b/webrtc/api/mediacontroller.h
index 5ada20d22888dccb744ad6efc723818a515e054b..9c2b7085003e5f101bbe503c4c1b6636f9a13190 100644
--- a/webrtc/api/mediacontroller.h
+++ b/webrtc/api/mediacontroller.h
@@ -11,34 +11,8 @@
#ifndef WEBRTC_API_MEDIACONTROLLER_H_
#define WEBRTC_API_MEDIACONTROLLER_H_
-#include "webrtc/base/thread.h"
-
-namespace cricket {
-class ChannelManager;
-struct MediaConfig;
-} // namespace cricket
-
-namespace webrtc {
-class Call;
-class VoiceEngine;
-class RtcEventLog;
-
-// 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(
- const cricket::MediaConfig& config,
- rtc::Thread* worker_thread,
- cricket::ChannelManager* channel_manager,
- webrtc::RtcEventLog* event_log);
-
- virtual ~MediaControllerInterface() {}
- virtual void Close() = 0;
- virtual webrtc::Call* call_w() = 0;
- virtual cricket::ChannelManager* channel_manager() const = 0;
- virtual const cricket::MediaConfig& config() const = 0;
-};
-} // namespace webrtc
+// Including this file is deprecated. It is no longer part of the public API.
+// This only includes the file in its new location for backwards compatibility.
+#include "webrtc/pc/mediacontroller.h"
#endif // WEBRTC_API_MEDIACONTROLLER_H_
« no previous file with comments | « webrtc/api/mediaconstraintsinterface_unittest.cc ('k') | webrtc/api/mediacontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698