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

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

Issue 1246913005: TransportController refactoring (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: minor cleanup Created 5 years, 4 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/transportchannelimpl.h
diff --git a/webrtc/p2p/base/transportchannelimpl.h b/webrtc/p2p/base/transportchannelimpl.h
index 705550b52a846c263a30f93ab55148eb49424c26..a6a90f32dca62bacc64592c4fdd065330626b76c 100644
--- a/webrtc/p2p/base/transportchannelimpl.h
+++ b/webrtc/p2p/base/transportchannelimpl.h
@@ -57,11 +57,7 @@ class TransportChannelImpl : public TransportChannel {
// Begins the process of attempting to make a connection to the other client.
virtual void Connect() = 0;
- // Allows an individual channel to request signaling and be notified when it
- // is ready. This is useful if the individual named channels have need to
- // send their own transport-info stanzas.
- sigslot::signal1<TransportChannelImpl*> SignalRequestSignaling;
- virtual void OnSignalingReady() = 0;
+ sigslot::signal1<TransportChannelImpl*> SignalCandidatesAllocationStarted;
// Handles sending and receiving of candidates. The Transport
// receives the candidates and may forward them to the relevant
@@ -75,6 +71,9 @@ class TransportChannelImpl : public TransportChannel {
const Candidate&> SignalCandidateReady;
virtual void OnCandidate(const Candidate& candidate) = 0;
+ virtual Transport::CandidateGatheringState candidate_gathering_state()
+ const = 0;
+
// DTLS methods
// Set DTLS local identity. The identity object is not copied, but the caller
// retains ownership and must delete it after this TransportChannelImpl is

Powered by Google App Engine
This is Rietveld 408576698