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

Unified Diff: net/spdy/buffered_spdy_framer.cc

Issue 1561203003: Remove SPDY/2 code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #3. Created 4 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 | « net/socket/ssl_client_socket.cc ('k') | net/spdy/spdy_frame_builder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer.cc
diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc
index 2372aff1a56ce65f05df688c7a87bf410fcd66b6..8d82ab676617a5577cc310334db5a55fd8fe1ac2 100644
--- a/net/spdy/buffered_spdy_framer.cc
+++ b/net/spdy/buffered_spdy_framer.cc
@@ -17,8 +17,6 @@ size_t kGoAwayDebugDataMaxSize = 1024;
SpdyMajorVersion NextProtoToSpdyMajorVersion(NextProto next_proto) {
switch (next_proto) {
- case kProtoDeprecatedSPDY2:
- return SPDY2;
case kProtoSPDY3:
case kProtoSPDY31:
return SPDY3;
@@ -30,7 +28,7 @@ SpdyMajorVersion NextProtoToSpdyMajorVersion(NextProto next_proto) {
break;
}
NOTREACHED();
- return SPDY2;
+ return HTTP2;
}
BufferedSpdyFramer::BufferedSpdyFramer(SpdyMajorVersion version,
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/spdy/spdy_frame_builder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698