Index: webrtc/api/datachannel.h |
diff --git a/webrtc/api/datachannel.h b/webrtc/api/datachannel.h |
index 9208ada5ca64f360ea981e976f4fb963f1b2ce4f..19f95df44484ae94fa0aa875f8ce3f0c72937993 100644 |
--- a/webrtc/api/datachannel.h |
+++ b/webrtc/api/datachannel.h |
@@ -144,11 +144,10 @@ class DataChannel : public DataChannelInterface, |
// stream on an existing DataMediaChannel, and we've finished negotiation. |
void OnChannelReady(bool writable); |
- // Sigslots from cricket::DataChannel |
- void OnDataReceived(cricket::DataChannel* channel, |
- const cricket::ReceiveDataParams& params, |
+ // Slots for provider to connect signals to. |
+ void OnDataReceived(const cricket::ReceiveDataParams& params, |
const rtc::CopyOnWriteBuffer& payload); |
- void OnStreamClosedRemotely(uint32_t sid); |
+ void OnStreamClosedRemotely(int sid); |
// The remote peer request that this channel should be closed. |
void RemotePeerRequestClose(); |