Index: net/quic/chromium/quic_chromium_client_stream.h |
diff --git a/net/quic/chromium/quic_chromium_client_stream.h b/net/quic/chromium/quic_chromium_client_stream.h |
index bef9eb4ebc90c52cb8f446f2e6b13f522cd430e5..d50c904ecd746dcac8ba686a993238f982588fb7 100644 |
--- a/net/quic/chromium/quic_chromium_client_stream.h |
+++ b/net/quic/chromium/quic_chromium_client_stream.h |
@@ -121,6 +121,10 @@ class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream { |
bool can_migrate() { return can_migrate_; } |
+ // Returns whether a stream with |id| is the first data stream created on a |
+ // QUIC session. |
+ static bool isFirstStream(QuicStreamId id); |
Ryan Hamilton
2016/09/09 22:05:39
Instead of making this a static method, let's make
Ryan Hamilton
2016/09/09 22:05:39
I think this method should be "IsFirst", not "isFi
xunjieli
2016/09/12 16:07:23
If we only use a bool, there is no way to differen
|
+ |
using QuicSpdyStream::HasBufferedData; |
private: |