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

Unified Diff: net/http/http_network_session.h

Issue 2496953002: Revert of Unify enum NextProto and enum AlternateProtocol. (Closed)
Patch Set: Created 4 years, 1 month 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 | « net/http/bidirectional_stream_unittest.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 f45ea432d5f02a251f33f045a6cd5ff5fdcc6174..333c2717b74c8de7362d3d305ce7e50196a54c1b 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -268,7 +268,7 @@
// Returns the original Params used to construct this session.
const Params& params() const { return params_; }
- bool IsProtocolEnabled(NextProto protocol) const;
+ bool IsProtocolEnabled(AlternateProtocol protocol) const;
// Populates |*alpn_protos| with protocols to be used with ALPN.
void GetAlpnProtos(NextProtoVector* alpn_protos) const;
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698