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

Unified Diff: net/http/http_network_session.h

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Revert accidental format Created 3 years, 11 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 | « google_apis/gcm/engine/connection_factory_impl.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 0987d548b3e1a396416e03a3daf036876b9e53fa..bf6436896aa716ebe199988b7c39c18023f345b3 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -298,6 +298,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;
+
+ // Disable QUIC for new streams.
+ void DisableQuic();
+
private:
friend class HttpNetworkSessionPeer;
« no previous file with comments | « google_apis/gcm/engine/connection_factory_impl.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698