Chromium Code Reviews

Unified Diff: net/http/http_network_session.h

Issue 1387363004: Disable HTTP/2 over NPN (with OpenSSL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable NPN in NSS if npn_protos.empty(). Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index a587acf643c06b8501affb61ecdb899dad646b2e..0748b9f3d71b9deb6c533bf2e5734012c9694858 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -206,8 +206,11 @@ class NET_EXPORT HttpNetworkSession
bool IsProtocolEnabled(AlternateProtocol protocol) const;
- // Populates |*next_protos| with protocols.
- void GetNextProtos(NextProtoVector* next_protos) const;
+ // Populates |*alpn_protos| with protocols to be used with ALPN.
+ void GetAlpnProtos(NextProtoVector* alpn_protos) const;
+
+ // Populates |*npn_protos| with protocols to be used with NPN.
+ void GetNpnProtos(NextProtoVector* npn_protos) const;
// Convenience function for searching through |params_| for
// |forced_spdy_exclusions|.

Powered by Google App Engine