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

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

Issue 2614263002: Remove BaseChannel's dependency on TransportController. (Closed)
Patch Set: Fix the channel_unittests 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
Index: webrtc/p2p/base/transportcontroller.h
diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h
index a46ce00dbc329a8f4627cca1318d06139572a476..cc925dc2d6f3d611f6468e0f5cbb2c277324bb26 100644
--- a/webrtc/p2p/base/transportcontroller.h
+++ b/webrtc/p2p/base/transportcontroller.h
@@ -113,12 +113,16 @@ class TransportController : public sigslot::has_slots<>,
// Creates a channel if it doesn't exist. Otherwise, increments a reference
// count and returns an existing channel.
+ TransportChannel* CreateTransportChannel(const std::string& transport_name,
Taylor Brandstetter 2017/01/09 22:50:42 If EnableBundle were called on the networking thre
Zhi Huang 2017/01/12 03:47:46 This method could be called on other threads in We
+ int component);
virtual TransportChannel* CreateTransportChannel_n(
const std::string& transport_name,
int component);
// Decrements a channel's reference count, and destroys the channel if
// nothing is referencing it.
+ void DestroyTransportChannel(const std::string& transport_name,
+ int component);
virtual void DestroyTransportChannel_n(const std::string& transport_name,
int component);

Powered by Google App Engine
This is Rietveld 408576698