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

Unified Diff: webrtc/p2p/base/port.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: Code style fixes, renaming some methods, calling MaybeStartPinging in a different place. 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
Index: webrtc/p2p/base/port.h
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
index 553223965639b09ed39157e63f8c94e394833a04..a9de0db43886354f38e9611aa5018d52342f4f4d 100644
--- a/webrtc/p2p/base/port.h
+++ b/webrtc/p2p/base/port.h
@@ -596,7 +596,7 @@ class Connection : public CandidatePairInterface,
// response in milliseconds
int64_t last_received() const;
- bool stable(int64_t now);
+ bool stable(int64_t now) const;
protected:
enum { MSG_DELETE = 0, MSG_FIRST_AVAILABLE };
@@ -615,11 +615,11 @@ class Connection : public CandidatePairInterface,
void OnConnectionRequestTimeout(ConnectionRequest* req);
void OnConnectionRequestSent(ConnectionRequest* req);
- bool rtt_converged();
+ bool rtt_converged() const;
// If the response is not received within 2 * RTT, the response is assumed to
// be missing.
- bool missing_responses(int64_t now);
+ bool missing_responses(int64_t now) const;
// Changes the state and signals if necessary.
void set_write_state(WriteState value);

Powered by Google App Engine
This is Rietveld 408576698