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

Unified Diff: net/quic/chromium/quic_chromium_client_stream.h

Issue 2324183002: Implement QuicHttpStream::GetLoadTimingInfo (Closed)
Patch Set: address comments Created 4 years, 3 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/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:

Powered by Google App Engine
This is Rietveld 408576698