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

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

Issue 1128933010: Remove FLAGS_quic_use_optimized_packet_reader now that it's been (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fixing_a_bug_in_the_QUIC_code_92727137
Patch Set: Created 5 years, 7 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 | « no previous file | net/tools/quic/quic_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.h
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h
index 865de950a8b9b9e63871e894808d92ee87cf0acd..56b9e4da8503c7e3a573d7407411af089546f4b7 100644
--- a/net/tools/quic/quic_server.h
+++ b/net/tools/quic/quic_server.h
@@ -55,20 +55,6 @@ class QuicServer : public EpollCallbackInterface {
void OnEvent(int fd, EpollEvent* event) override;
void OnUnregistration(int fd, bool replaced) override {}
- // Reads a number of packets from the given fd, and then passes them off to
- // the QuicDispatcher. Returns true if some packets are read, false
- // otherwise.
- // If packets_dropped is non-null, the socket is configured to track
- // dropped packets, and some packets are read, it will be set to the number of
- // dropped packets.
- static bool ReadAndDispatchPackets(int fd, int port,
- ProcessPacketInterface* processor,
- QuicPacketCount* packets_dropped);
- // Same as ReadAndDispatchPackets, only does one packet at a time.
- static bool ReadAndDispatchSinglePacket(int fd, int port,
- ProcessPacketInterface* processor,
- QuicPacketCount* packets_dropped);
-
void OnShutdown(EpollServer* eps, int fd) override {}
void SetStrikeRegisterNoStartupPeriod() {
« no previous file with comments | « no previous file | net/tools/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698