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

Unified Diff: net/tools/quic/quic_time_wait_list_manager.h

Issue 1036303003: Various formatting changes to shared QUIC server code found while syning with internal version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « net/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_time_wait_list_manager.h
diff --git a/net/tools/quic/quic_time_wait_list_manager.h b/net/tools/quic/quic_time_wait_list_manager.h
index aba6cb4835a2679967f3bbeaea5397497ee6e7d8..8c128698c97bca35635b4cde5217377c6b197af1 100644
--- a/net/tools/quic/quic_time_wait_list_manager.h
+++ b/net/tools/quic/quic_time_wait_list_manager.h
@@ -48,15 +48,14 @@ class QuicTimeWaitListManager : public QuicBlockedWriterInterface {
const QuicVersionVector& supported_versions);
~QuicTimeWaitListManager() override;
- // Adds the given connection_id to time wait state for
- // time_wait_period_. Henceforth, any packet bearing this
- // connection_id should not be processed while the connection_id
- // remains in this list. If a non-nullptr |close_packet| is
- // provided, the TimeWaitListManager takes ownership of it and sends
- // it again when packets are received for added connection_ids. If
- // nullptr, a public reset packet is sent with the specified
- // |version|. DCHECKs that connection_id is not already on the list.
- // virtual to override in tests.
+ // Adds the given connection_id to time wait state for time_wait_period_.
+ // Henceforth, any packet bearing this connection_id should not be processed
+ // while the connection_id remains in this list. If a non-nullptr
+ // |close_packet| is provided, the TimeWaitListManager takes ownership of it
+ // and sends it again when packets are received for added connection_ids. If
+ // nullptr, a public reset packet is sent with the specified |version|.
+ // DCHECKs that connection_id is not already on the list. "virtual" to
+ // override in tests.
virtual void AddConnectionIdToTimeWait(QuicConnectionId connection_id,
QuicVersion version,
QuicEncryptedPacket* close_packet);
« no previous file with comments | « net/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698