Index: webrtc/p2p/base/transportchannel.cc |
diff --git a/webrtc/p2p/base/transportchannel.cc b/webrtc/p2p/base/transportchannel.cc |
index a4e8cb8df51f41a83755c8601a3f60fc294bf66d..5fb0eb472cd468c4129b114e035f667107a7b184 100644 |
--- a/webrtc/p2p/base/transportchannel.cc |
+++ b/webrtc/p2p/base/transportchannel.cc |
@@ -31,6 +31,14 @@ void TransportChannel::set_readable(bool readable) { |
} |
} |
+void TransportChannel::set_receiving(bool receiving) { |
+ if (receiving_ == receiving) { |
+ return; |
+ } |
+ receiving_ = receiving; |
+ SignalReceivingState(this); |
+} |
+ |
void TransportChannel::set_writable(bool writable) { |
if (writable_ != writable) { |
LOG_J(LS_VERBOSE, this) << "set_writable from:" << writable_ << " to " |