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

Unified Diff: net/spdy/spdy_write_queue.h

Issue 14232014: Correctly handle SPDY GOAWAY frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 7 years, 8 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
Index: net/spdy/spdy_write_queue.h
diff --git a/net/spdy/spdy_write_queue.h b/net/spdy/spdy_write_queue.h
index 1b8f1b810144aa8292e35b2e0eaaf4f9371e0e96..1639bdb7b5015792af407dcba05cffe2a4693767 100644
--- a/net/spdy/spdy_write_queue.h
+++ b/net/spdy/spdy_write_queue.h
@@ -48,6 +48,9 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
// non-NULL.
void RemovePendingWritesForStream(const scoped_refptr<SpdyStream>& stream);
+ // Removes all pending writes for streams after |last_good_stream_id|.
+ void RemovePendingWritesForStreamsAfter(SpdyStreamId last_good_stream_id);
akalin 2013/04/18 02:23:11 before i forget, can you also add a unit test for
Ryan Hamilton 2013/04/18 17:18:29 Done.
+
// Removes all pending writes.
void Clear();

Powered by Google App Engine
This is Rietveld 408576698