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

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: Re: #7. Created 5 years, 2 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 | « chrome/browser/resources/net_internals/spdy_view.html ('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 27ed595dcc1bc234eeb781d27875385074a8d932..7a5ef6ef226a0d2842797001a48c1a8ddb4baa31 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|.
« no previous file with comments | « chrome/browser/resources/net_internals/spdy_view.html ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698