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

Side by Side Diff: net/quic/chromium/quic_chromium_client_session.cc

Issue 2461683002: Slice enum HttpResponseInfo::ConnectionInfo by QUIC version. (Closed)
Patch Set: Add return value in case of enum with value out of range. 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 unified diff | Download patch
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/quic/chromium/quic_chromium_client_session.h" 5 #include "net/quic/chromium/quic_chromium_client_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 DeletePromised(promised_info); 1454 DeletePromised(promised_info);
1455 } 1455 }
1456 1456
1457 const LoadTimingInfo::ConnectTiming& 1457 const LoadTimingInfo::ConnectTiming&
1458 QuicChromiumClientSession::GetConnectTiming() { 1458 QuicChromiumClientSession::GetConnectTiming() {
1459 connect_timing_.ssl_start = connect_timing_.connect_start; 1459 connect_timing_.ssl_start = connect_timing_.connect_start;
1460 connect_timing_.ssl_end = connect_timing_.connect_end; 1460 connect_timing_.ssl_end = connect_timing_.connect_end;
1461 return connect_timing_; 1461 return connect_timing_;
1462 } 1462 }
1463 1463
1464 QuicVersion QuicChromiumClientSession::GetQuicVersion() const {
1465 return connection()->version();
1466 }
1467
1464 } // namespace net 1468 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698