Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index 2dda96ce3e5f7b73c70f81bf3b4851950448f528..57b9f9385edf9fdabe97543e2985e667d4a63a0a 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -661,6 +661,8 @@ class NET_EXPORT_PRIVATE QuicConnection |
QuicConnectionHelperInterface* helper() { return helper_; } |
+ base::StringPiece GetCurrentPacket(); |
+ |
protected: |
// Send a packet to the peer, and takes ownership of the packet if the packet |
// cannot be written immediately. |
@@ -846,6 +848,9 @@ class NET_EXPORT_PRIVATE QuicConnection |
// decrypted. |
bool last_packet_decrypted_; |
QuicByteCount last_size_; // Size of the last received packet. |
+ // TODO(rch): remove this when b/27221014 is fixed. |
+ const char* current_packet_data_; // UDP payload of packet currently being |
+ // parsed or nullptr. |
EncryptionLevel last_decrypted_packet_level_; |
QuicPacketHeader last_header_; |
QuicStopWaitingFrame last_stop_waiting_frame_; |