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

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

Issue 1404873003: relnote: Avoid redundant recvmmsg when the previous recvmmsg returned (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@QUIC_test_tools_104305494
Patch Set: Created 5 years, 2 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/quic/quic_flags.cc ('k') | net/tools/quic/quic_packet_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_packet_reader.h
diff --git a/net/tools/quic/quic_packet_reader.h b/net/tools/quic/quic_packet_reader.h
index 479fc6d9097f41764d49cf4278d803de145f8df0..e667d598d88423a40789a3c68e1c1952587fa38f 100644
--- a/net/tools/quic/quic_packet_reader.h
+++ b/net/tools/quic/quic_packet_reader.h
@@ -37,8 +37,8 @@ class QuicPacketReader {
virtual ~QuicPacketReader();
// Reads a number of packets from the given fd, and then passes them off to
- // the PacketProcessInterface. Returns true if at least 1 packet is read,
- // false otherwise.
+ // the PacketProcessInterface. Returns true if there may be additional
+ // packets available on the socket.
// Populates |packets_dropped| if it is non-null and the socket is configured
// to track dropped packets and some packets are read.
virtual bool ReadAndDispatchPackets(int fd,
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/tools/quic/quic_packet_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698