Index: webrtc/pc/channelmanager.h |
diff --git a/webrtc/pc/channelmanager.h b/webrtc/pc/channelmanager.h |
index 15a3752c44a730ae85ecaac07576825a990ffc8c..cc4ad23c7bc4f61654ad05b7b15063b546641cf1 100644 |
--- a/webrtc/pc/channelmanager.h |
+++ b/webrtc/pc/channelmanager.h |
@@ -113,6 +113,13 @@ class ChannelManager { |
const std::string* bundle_transport_name, |
bool rtcp, |
DataChannelType data_channel_type); |
+ DataChannel* CreateDataChannel( |
+ TransportController* transport_controller, |
+ webrtc::MediaControllerInterface* media_controller, |
+ const std::string& content_name, |
+ const std::string* bundle_transport_name, |
+ bool rtcp, |
+ DataChannelType data_channel_type); |
// Destroys a data channel created with the Create API. |
void DestroyDataChannel(DataChannel* data_channel); |
@@ -171,11 +178,13 @@ class ChannelManager { |
bool rtcp, |
const VideoOptions& options); |
void DestroyVideoChannel_w(VideoChannel* video_channel); |
- DataChannel* CreateDataChannel_w(TransportController* transport_controller, |
- const std::string& content_name, |
- const std::string* bundle_transport_name, |
- bool rtcp, |
- DataChannelType data_channel_type); |
+ DataChannel* CreateDataChannel_w( |
+ TransportController* transport_controller, |
+ const std::string& content_name, |
+ const std::string* bundle_transport_name, |
+ bool rtcp, |
+ DataChannelType data_channel_type, |
+ webrtc::MediaControllerInterface* media_controller); |
void DestroyDataChannel_w(DataChannel* data_channel); |
std::unique_ptr<MediaEngineInterface> media_engine_; |