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

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

Issue 2416023002: Introduce rtc::PacketTransportInterface and let cricket::TransportChannel inherit. (Closed)
Patch Set: Let BaseChannel::PacketIsRtcp() use PacketTransportInterface. 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
Index: webrtc/p2p/base/transportcontroller.cc
diff --git a/webrtc/p2p/base/transportcontroller.cc b/webrtc/p2p/base/transportcontroller.cc
index 1dc7ca789acd56956775b669ce9620aed0b51836..3a4b56c17c413eb99f97a4e0a084405fa6f4f3d2 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* channel) {
RTC_DCHECK(network_thread_->IsCurrent());
- LOG(LS_INFO) << channel->transport_name() << " TransportChannel "
- << channel->component() << " writability changed to "
- << channel->writable() << ".";
+ LOG(LS_INFO) << " TransportChannel " << channel->debug_name()
+ << " writability changed to " << channel->writable() << ".";
UpdateAggregateStates_n();
}

Powered by Google App Engine
This is Rietveld 408576698