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

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

Issue 2614263002: Remove BaseChannel's dependency on TransportController. (Closed)
Patch Set: cr comments 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/faketransportcontroller.h
diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h
index d42a93ddae9f95cf1558f9d32f3273f5e9a113c3..7021c036c9ed00f08606345181ded120260adf6c 100644
--- a/webrtc/p2p/base/faketransportcontroller.h
+++ b/webrtc/p2p/base/faketransportcontroller.h
@@ -443,6 +443,11 @@ class FakeTransportController : public TransportController {
return new FakeCandidatePair(local_candidate, remote_candidate);
}
+ void DestroyRtcpTransport(const std::string& transport_name) {
+ DestroyTransportChannel_n(transport_name,
+ cricket::ICE_CANDIDATE_COMPONENT_RTCP);
+ }
+
protected:
// The ICE channel is never actually used by TransportController directly,
// since (currently) the DTLS channel pretends to be both ICE + DTLS. This

Powered by Google App Engine
This is Rietveld 408576698