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

Unified Diff: net/quic/quic_connection.h

Issue 402333003: QuicConnection::ProcessValidatedPacket doesn't need to be public because (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_bandwidth_estimate_71360060
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 8c6d2ca923a65271980d1b39916b15da329a26a2..5bed086017795f183c1a2824bc7c309eaa204d31 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -303,11 +303,6 @@ class NET_EXPORT_PRIVATE QuicConnection
// If the socket is not blocked, writes queued packets.
void WriteIfNotBlocked();
- // Do any work which logically would be done in OnPacket but can not be
- // safely done until the packet is validated. Returns true if the packet
- // can be handled, false otherwise.
- virtual bool ProcessValidatedPacket();
-
// The version of the protocol this connection is using.
QuicVersion version() const { return framer_.version(); }
@@ -490,6 +485,11 @@ class NET_EXPORT_PRIVATE QuicConnection
};
protected:
+ // Do any work which logically would be done in OnPacket but can not be
+ // safely done until the packet is validated. Returns true if the packet
+ // can be handled, false otherwise.
+ virtual bool ProcessValidatedPacket();
+
// Send a packet to the peer using encryption |level|. If |sequence_number|
// is present in the |retransmission_map_|, then contents of this packet will
// be retransmitted with a new sequence number if it's not acked by the peer.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698