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

Side by Side Diff: net/quic/quic_config.cc

Issue 147763009: Add the client address to the Public Reset packet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove crypto_handshake_message.* from the CL; they were committed separately Created 6 years, 10 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
« no previous file with comments | « net/quic/quic_config.h ('k') | net/quic/quic_config_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/quic_config.h" 5 #include "net/quic/quic_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/quic/crypto/crypto_handshake_message.h"
11 #include "net/quic/crypto/crypto_protocol.h"
10 #include "net/quic/quic_sent_packet_manager.h" 12 #include "net/quic/quic_sent_packet_manager.h"
13 #include "net/quic/quic_utils.h"
11 14
12 using std::string; 15 using std::string;
13 16
14 namespace net { 17 namespace net {
15 18
16 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) 19 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence)
17 : tag_(tag), 20 : tag_(tag),
18 presence_(presence), 21 presence_(presence),
19 negotiated_(false) { 22 negotiated_(false) {
20 } 23 }
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 server_hello, error_details); 407 server_hello, error_details);
405 } 408 }
406 if (error == QUIC_NO_ERROR) { 409 if (error == QUIC_NO_ERROR) {
407 error = initial_round_trip_time_us_.ProcessServerHello( 410 error = initial_round_trip_time_us_.ProcessServerHello(
408 server_hello, error_details); 411 server_hello, error_details);
409 } 412 }
410 return error; 413 return error;
411 } 414 }
412 415
413 } // namespace net 416 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_config.h ('k') | net/quic/quic_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698