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

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

Issue 1207563002: Add flakiness check if there is no received packets in a certain period. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: First-cut Created 5 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/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index 11399d0681de0f1309fc427caafaacedfc7ed993..6f2c8769fb9ca8bef25059b2b2d88291a7bbb347 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -213,6 +213,8 @@ class P2PTransportChannel : public TransportChannelImpl,
void OnSort();
void OnPing();
+ void OnCheckFlakiness();
+
P2PTransport* transport_;
PortAllocator *allocator_;
rtc::Thread *worker_thread_;
@@ -241,6 +243,9 @@ class P2PTransportChannel : public TransportChannelImpl,
uint64 tiebreaker_;
uint32 remote_candidate_generation_;
+ int check_flakiness_delay_;
+ int check_flakiness_timeout_;
+
DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
};

Powered by Google App Engine
This is Rietveld 408576698