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

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

Issue 2778943002: Pass HttpServerProperties in to QuicHttpStream so that it can mark QUIC broken. (Closed)
Patch Set: Rebase Created 3 years, 9 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/http/http_stream_factory_impl_job.cc ('k') | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3dd498219175ef85728ba0bc01624ef4f5c3941d..bd1250e6d009f37c2dbd72e354c072865a325005 100644
--- a/net/quic/chromium/quic_http_stream.h
+++ b/net/quic/chromium/quic_http_stream.h
@@ -18,6 +18,7 @@
#include "net/base/load_timing_info.h"
#include "net/base/net_export.h"
#include "net/http/http_response_info.h"
+#include "net/http/http_server_properties.h"
#include "net/log/net_log_with_source.h"
#include "net/quic/chromium/quic_chromium_client_session.h"
#include "net/quic/chromium/quic_chromium_client_stream.h"
@@ -40,8 +41,8 @@ class NET_EXPORT_PRIVATE QuicHttpStream
public QuicClientPushPromiseIndex::Delegate,
public MultiplexedHttpStream {
public:
- explicit QuicHttpStream(
- const base::WeakPtr<QuicChromiumClientSession>& session);
+ QuicHttpStream(const base::WeakPtr<QuicChromiumClientSession>& session,
+ HttpServerProperties* http_server_properties);
~QuicHttpStream() override;
@@ -137,6 +138,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream
State next_state_;
base::WeakPtr<QuicChromiumClientSession> session_;
+
+ HttpServerProperties* http_server_properties_;
+
QuicVersion quic_version_;
int session_error_; // Error code from the connection shutdown.
bool was_handshake_confirmed_; // True if the crypto handshake succeeded.
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698