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

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

Issue 2099563004: Start ICE connectivity checks as soon as the first pair is pingable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removing debug log message, adding missing UpdateState. Created 4 years, 6 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/port.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transport.h
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
index 1583b710dbfaddbeb095878c1a2248f38a46956d..92698915773f5688dfcdec10473da2f684201090 100644
--- a/webrtc/p2p/base/transport.h
+++ b/webrtc/p2p/base/transport.h
@@ -214,9 +214,6 @@ class Transport : public sigslot::has_slots<> {
return local_description_set_ && remote_description_set_;
}
- // Returns whether the client has requested the channels to connect.
- bool connect_requested() const { return connect_requested_; }
-
void SetIceRole(IceRole role);
IceRole ice_role() const { return ice_role_; }
@@ -260,9 +257,6 @@ class Transport : public sigslot::has_slots<> {
ContentAction action,
std::string* error_desc);
- // Tells all current and future channels to start connecting.
- void ConnectChannels();
-
// Tells channels to start gathering candidates if necessary.
// Should be called after ConnectChannels() has been called at least once,
// which will happen in SetLocalTransportDescription.
@@ -364,7 +358,6 @@ class Transport : public sigslot::has_slots<> {
const std::string name_;
PortAllocator* const allocator_;
bool channels_destroyed_ = false;
- bool connect_requested_ = false;
IceRole ice_role_ = ICEROLE_UNKNOWN;
uint64_t tiebreaker_ = 0;
IceMode remote_ice_mode_ = ICEMODE_FULL;
« no previous file with comments | « webrtc/p2p/base/port.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698