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

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

Issue 2637503003: More minor improvements to BaseChannel/transport code. (Closed)
Patch Set: Merge with master Created 3 years, 11 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 810b96e8d1b4bf31d27218f827d4e4330d51f76d..5dc4b97a0e67ad964a2ec385d561a07255a5efbd 100644
--- a/webrtc/p2p/base/transportcontroller.cc
+++ b/webrtc/p2p/base/transportcontroller.cc
@@ -296,6 +296,14 @@ TransportChannel* TransportController::CreateTransportChannel_n(
return dtls;
}
+void TransportController::DestroyTransportChannel(
+ const std::string& transport_name,
+ int component) {
+ network_thread_->Invoke<void>(
+ RTC_FROM_HERE, rtc::Bind(&TransportController::DestroyTransportChannel_n,
+ this, transport_name, component));
+}
+
void TransportController::DestroyTransportChannel_n(
const std::string& transport_name,
int component) {
« 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