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

Unified Diff: net/http/http_network_session.h

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Reviewers' feedback Created 3 years, 12 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/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index f1402bfae2908ed943c496809d2ab0037e74fdcb..24754d508e9384d1dbf79e47b08e91d8605e0873 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -285,6 +285,12 @@ class NET_EXPORT HttpNetworkSession
void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
const std::string& parent_absolute_name) const;
+ // Evaluates if QUIC is enabled for new streams.
+ bool IsQuicEnabled() const;
+
+ // Sets QUIC enablement for new streams.
+ void SetQuicEnabled(bool quic_enabled);
+
private:
friend class HttpNetworkSessionPeer;

Powered by Google App Engine
This is Rietveld 408576698