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

Unified Diff: webrtc/p2p/base/transportcontroller.cc

Issue 2416023002: Introduce rtc::PacketTransportInterface and let cricket::TransportChannel inherit. (Closed)
Patch Set: Rebase. Created 4 years, 2 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/p2p/base/transportcontroller.h ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transportcontroller.cc
diff --git a/webrtc/p2p/base/transportcontroller.cc b/webrtc/p2p/base/transportcontroller.cc
index 1dc7ca789acd56956775b669ce9620aed0b51836..9d5fb88b711c570f720bf7f466219fba0420510d 100644
--- a/webrtc/p2p/base/transportcontroller.cc
+++ b/webrtc/p2p/base/transportcontroller.cc
@@ -565,11 +565,11 @@ bool TransportController::GetStats_n(const std::string& transport_name,
return transport->GetStats(stats);
}
-void TransportController::OnChannelWritableState_n(TransportChannel* channel) {
+void TransportController::OnChannelWritableState_n(
+ rtc::PacketTransportInterface* transport) {
RTC_DCHECK(network_thread_->IsCurrent());
- LOG(LS_INFO) << channel->transport_name() << " TransportChannel "
- << channel->component() << " writability changed to "
- << channel->writable() << ".";
+ LOG(LS_INFO) << " TransportChannel " << transport->debug_name()
+ << " writability changed to " << transport->writable() << ".";
UpdateAggregateStates_n();
}
« no previous file with comments | « webrtc/p2p/base/transportcontroller.h ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698