Index: net/quic/chromium/quic_http_stream.h |
diff --git a/net/quic/chromium/quic_http_stream.h b/net/quic/chromium/quic_http_stream.h |
index 2ca5bbcfed78744500833c60e124fbd03c2a9bcf..e5da7520d823ab22a8dc1b44f7ec8d6bfa63cc84 100644 |
--- a/net/quic/chromium/quic_http_stream.h |
+++ b/net/quic/chromium/quic_http_stream.h |
@@ -42,7 +42,8 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
public MultiplexedHttpStream { |
public: |
QuicHttpStream(const base::WeakPtr<QuicChromiumClientSession>& session, |
- HttpServerProperties* http_server_properties); |
+ HttpServerProperties* http_server_properties, |
+ bool mark_quic_broken_when_network_suspected); |
~QuicHttpStream() override; |
@@ -150,8 +151,12 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
State next_state_; |
base::WeakPtr<QuicChromiumClientSession> session_; |
+ const QuicServerId server_id_; // The ID of the QUIC server for this stream. |
- HttpServerProperties* http_server_properties_; |
+ HttpServerProperties* http_server_properties_; // Unowned. |
+ // True if QUIC should be marked as broken when a stream is closed with |
+ // a possibly network-caused error. |
+ bool mark_quic_broken_when_network_suspected_; |
QuicVersion quic_version_; |
int session_error_; // Error code from the connection shutdown. |