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

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

Issue 2820423002: Move quic_flags.h from net/quic/core to net/quic/platform and split into api and impl. (Closed)
Patch Set: Created 3 years, 8 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 | « net/quic/core/quic_client_session_base.cc ('k') | net/quic/core/quic_connection.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/core/quic_config.h" 5 #include "net/quic/core/quic_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "net/quic/core/crypto/crypto_handshake_message.h" 9 #include "net/quic/core/crypto/crypto_handshake_message.h"
10 #include "net/quic/core/crypto/crypto_protocol.h" 10 #include "net/quic/core/crypto/crypto_protocol.h"
11 #include "net/quic/core/quic_flags.h"
12 #include "net/quic/core/quic_socket_address_coder.h" 11 #include "net/quic/core/quic_socket_address_coder.h"
13 #include "net/quic/core/quic_utils.h" 12 #include "net/quic/core/quic_utils.h"
14 #include "net/quic/platform/api/quic_bug_tracker.h" 13 #include "net/quic/platform/api/quic_bug_tracker.h"
15 #include "net/quic/platform/api/quic_flag_utils.h" 14 #include "net/quic/platform/api/quic_flag_utils.h"
15 #include "net/quic/platform/api/quic_flags.h"
16 #include "net/quic/platform/api/quic_logging.h" 16 #include "net/quic/platform/api/quic_logging.h"
17 #include "net/quic/platform/api/quic_string_piece.h" 17 #include "net/quic/platform/api/quic_string_piece.h"
18 18
19 using std::string; 19 using std::string;
20 20
21 namespace net { 21 namespace net {
22 22
23 // Reads the value corresponding to |name_| from |msg| into |out|. If the 23 // Reads the value corresponding to |name_| from |msg| into |out|. If the
24 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set 24 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set
25 // to |default_value|. 25 // to |default_value|.
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 error_details); 683 error_details);
684 } 684 }
685 if (error == QUIC_NO_ERROR) { 685 if (error == QUIC_NO_ERROR) {
686 error = support_max_header_list_size_.ProcessPeerHello( 686 error = support_max_header_list_size_.ProcessPeerHello(
687 peer_hello, hello_type, error_details); 687 peer_hello, hello_type, error_details);
688 } 688 }
689 return error; 689 return error;
690 } 690 }
691 691
692 } // namespace net 692 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_client_session_base.cc ('k') | net/quic/core/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698