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

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

Issue 579643002: QUIC - minor cleanup changes to keep code in sync with the internal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | 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" 10 #include "net/quic/crypto/crypto_handshake_message.h"
11 #include "net/quic/crypto/crypto_protocol.h" 11 #include "net/quic/crypto/crypto_protocol.h"
12 #include "net/quic/quic_flags.h" 12 #include "net/quic/quic_flags.h"
13 #include "net/quic/quic_sent_packet_manager.h"
14 #include "net/quic/quic_utils.h" 13 #include "net/quic/quic_utils.h"
15 14
16 using std::min; 15 using std::min;
17 using std::string; 16 using std::string;
18 17
19 namespace net { 18 namespace net {
20 19
21 // Reads the value corresponding to |name_| from |msg| into |out|. If the 20 // Reads the value corresponding to |name_| from |msg| into |out|. If the
22 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set 21 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set
23 // to |default_value|. 22 // to |default_value|.
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 peer_hello, hello_type, error_details); 736 peer_hello, hello_type, error_details);
738 } 737 }
739 if (error == QUIC_NO_ERROR) { 738 if (error == QUIC_NO_ERROR) {
740 error = connection_options_.ProcessPeerHello( 739 error = connection_options_.ProcessPeerHello(
741 peer_hello, hello_type, error_details); 740 peer_hello, hello_type, error_details);
742 } 741 }
743 return error; 742 return error;
744 } 743 }
745 744
746 } // namespace net 745 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698