Index: net/tools/quic/quic_simple_server.h |
diff --git a/net/tools/quic/quic_simple_server.h b/net/tools/quic/quic_simple_server.h |
index 4b24d9cef7382361f639824559d2660b9e6969a2..51cafffe65980628081ba472f99e82dba56f92a0 100644 |
--- a/net/tools/quic/quic_simple_server.h |
+++ b/net/tools/quic/quic_simple_server.h |
@@ -49,11 +49,13 @@ class QuicSimpleServer { |
// Start reading on the socket. On asynchronous reads, this registers |
// OnReadComplete as the callback, which will then call StartReading again. |
- void StartReading(); |
+ void StartReading(bool check_packet_buffer); |
// Called on reads that complete asynchronously. Dispatches the packet and |
// continues the read loop. |
- void OnReadComplete(int result); |
+ void OnAsyncReadComplete(int result); |
+ |
+ void OnReadComplete(int result, bool check_packet_buffer); |
void SetStrikeRegisterNoStartupPeriod() { |
crypto_config_.set_strike_register_no_startup_period(); |