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

Side by Side Diff: net/http/http_response_info.cc

Issue 25956002: [SPDY] Remove references to obsolete SPDY versions SPDY/1 and SPDY/2.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/http/http_response_info.h" 5 #include "net/http/http_response_info.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/pickle.h" 8 #include "base/pickle.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "net/base/auth.h" 10 #include "net/base/auth.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 return CONNECTION_INFO_SPDY3; 338 return CONNECTION_INFO_SPDY3;
339 case kProtoSPDY4a2: 339 case kProtoSPDY4a2:
340 return CONNECTION_INFO_SPDY4A2; 340 return CONNECTION_INFO_SPDY4A2;
341 case kProtoHTTP2Draft04: 341 case kProtoHTTP2Draft04:
342 return CONNECTION_INFO_HTTP2_DRAFT_04; 342 return CONNECTION_INFO_HTTP2_DRAFT_04;
343 case kProtoQUIC1SPDY3: 343 case kProtoQUIC1SPDY3:
344 return CONNECTION_INFO_QUIC1_SPDY3; 344 return CONNECTION_INFO_QUIC1_SPDY3;
345 345
346 case kProtoUnknown: 346 case kProtoUnknown:
347 case kProtoHTTP11: 347 case kProtoHTTP11:
348 case kProtoSPDY1:
349 case kProtoSPDY21:
350 break; 348 break;
351 } 349 }
352 350
353 NOTREACHED(); 351 NOTREACHED();
354 return CONNECTION_INFO_UNKNOWN; 352 return CONNECTION_INFO_UNKNOWN;
355 } 353 }
356 354
357 // static 355 // static
358 std::string HttpResponseInfo::ConnectionInfoToString( 356 std::string HttpResponseInfo::ConnectionInfoToString(
359 ConnectionInfo connection_info) { 357 ConnectionInfo connection_info) {
(...skipping 13 matching lines...) Expand all
373 case CONNECTION_INFO_QUIC1_SPDY3: 371 case CONNECTION_INFO_QUIC1_SPDY3:
374 return "quic/1+spdy/3"; 372 return "quic/1+spdy/3";
375 case NUM_OF_CONNECTION_INFOS: 373 case NUM_OF_CONNECTION_INFOS:
376 break; 374 break;
377 } 375 }
378 NOTREACHED(); 376 NOTREACHED();
379 return ""; 377 return "";
380 } 378 }
381 379
382 } // namespace net 380 } // namespace net
OLDNEW
« no previous file with comments | « chrome/browser/net/http_server_properties_manager_unittest.cc ('k') | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698