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

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

Issue 2416023002: Introduce rtc::PacketTransportInterface and let cricket::TransportChannel inherit. (Closed)
Patch Set: Resolve unused variable issue in release build. 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..636067cb9ab96e67e0ef54503d51202bce17dea3 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::PacketTransport* pt) {
RTC_DCHECK(network_thread_->IsCurrent());
- LOG(LS_INFO) << channel->transport_name() << " TransportChannel "
- << channel->component() << " writability changed to "
- << channel->writable() << ".";
+ LOG(LS_INFO) << pt->transport_name() << " TransportChannel "
+ << pt->component() << " writability changed to "
+ << pt->writable() << ".";
pthatcher1 2016/10/13 20:26:37 We probably want to make this less ICE-specific, w
johan 2016/10/14 16:09:33 Done.
UpdateAggregateStates_n();
}

Powered by Google App Engine
This is Rietveld 408576698