Index: webrtc/p2p/base/transportchannel.cc |
diff --git a/webrtc/p2p/base/transportchannel.cc b/webrtc/p2p/base/transportchannel.cc |
index 9ab76413ca98be4ad14fc8e707fdfc33cbb6c591..97a41130c7b2e282e89f26cfbe88e6b538a068d6 100644 |
--- a/webrtc/p2p/base/transportchannel.cc |
+++ b/webrtc/p2p/base/transportchannel.cc |
@@ -15,21 +15,14 @@ |
namespace cricket { |
std::string TransportChannel::ToString() const { |
- const char READABLE_ABBREV[2] = { '_', 'R' }; |
+ const char RECEIVING_ABBREV[2] = { '_', 'R' }; |
const char WRITABLE_ABBREV[2] = { '_', 'W' }; |
std::stringstream ss; |
ss << "Channel[" << transport_name_ << "|" << component_ << "|" |
- << READABLE_ABBREV[readable_] << WRITABLE_ABBREV[writable_] << "]"; |
+ << RECEIVING_ABBREV[receiving_] << WRITABLE_ABBREV[writable_] << "]"; |
return ss.str(); |
} |
-void TransportChannel::set_readable(bool readable) { |
- if (readable_ != readable) { |
- readable_ = readable; |
- SignalReadableState(this); |
- } |
-} |
- |
void TransportChannel::set_receiving(bool receiving) { |
if (receiving_ == receiving) { |
return; |