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

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

Issue 2805043004: Add a GetAlternativeService method to HttpStream to return any (Closed)
Patch Set: Created 3 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/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..77661749844269770ca80d77cc7ca8cdf41fc4c5 100644
--- a/net/quic/chromium/quic_http_stream.h
+++ b/net/quic/chromium/quic_http_stream.h
@@ -64,6 +64,8 @@ class NET_EXPORT_PRIVATE QuicHttpStream
int64_t GetTotalReceivedBytes() const override;
int64_t GetTotalSentBytes() const override;
bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
+ bool GetAlternativeService(
+ AlternativeService* alternative_service) const override;
void PopulateNetErrorDetails(NetErrorDetails* details) override;
void SetPriority(RequestPriority priority) override;
@@ -150,6 +152,7 @@ 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_;

Powered by Google App Engine
This is Rietveld 408576698