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

Unified Diff: net/quic/quic_stream_sequencer.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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_stream_factory_test.cc ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_sequencer.h
diff --git a/net/quic/quic_stream_sequencer.h b/net/quic/quic_stream_sequencer.h
index f34d73509e4ab19fef0520d689cf9c900d10d6b9..3570d3b86cc1a1fcc3aad61e10bd185c7a8f1163 100644
--- a/net/quic/quic_stream_sequencer.h
+++ b/net/quic/quic_stream_sequencer.h
@@ -75,6 +75,8 @@ class NET_EXPORT_PRIVATE QuicStreamSequencer {
return num_duplicate_frames_received_;
}
+ int num_early_frames_received() const { return num_early_frames_received_; }
+
private:
friend class test::QuicStreamSequencerPeer;
@@ -122,6 +124,10 @@ class NET_EXPORT_PRIVATE QuicStreamSequencer {
// Count of the number of duplicate frames received.
int num_duplicate_frames_received_;
+ // Count of the number of frames received before all previous frames were
+ // received.
+ int num_early_frames_received_;
+
DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencer);
};
« no previous file with comments | « net/quic/quic_stream_factory_test.cc ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698