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

Unified Diff: net/socket/next_proto.h

Issue 302893003: Enable SPDY 3.1 and 3.0 in UrlRequestContextBuilder by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NextProtosDefaults Created 6 years, 7 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 | « no previous file | net/socket/next_proto.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/next_proto.h
diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h
index 797c6ae863800d95c7860b028a81350fed85cad7..92ffee425c3801c9018e162b3912172ccaacb766 100644
--- a/net/socket/next_proto.h
+++ b/net/socket/next_proto.h
@@ -39,6 +39,10 @@ typedef std::vector<NextProto> NextProtoVector;
NET_EXPORT NextProtoVector NextProtosHttpOnly();
+// Default values, which are subject to change over time. Currently just
+// SPDY 3 and 3.1.
+NET_EXPORT NextProtoVector NextProtosDefaults();
+
// All of these also enable QUIC.
NET_EXPORT NextProtoVector NextProtosSpdy3();
NET_EXPORT NextProtoVector NextProtosSpdy31();
« no previous file with comments | « no previous file | net/socket/next_proto.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698