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

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

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change 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
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/quic_chromium_client_session_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) 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 13 matching lines...) Expand all
24 #include "net/log/net_log_event_type.h" 24 #include "net/log/net_log_event_type.h"
25 #include "net/log/net_log_source_type.h" 25 #include "net/log/net_log_source_type.h"
26 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 26 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
27 #include "net/quic/chromium/quic_chromium_connection_helper.h" 27 #include "net/quic/chromium/quic_chromium_connection_helper.h"
28 #include "net/quic/chromium/quic_chromium_packet_writer.h" 28 #include "net/quic/chromium/quic_chromium_packet_writer.h"
29 #include "net/quic/chromium/quic_stream_factory.h" 29 #include "net/quic/chromium/quic_stream_factory.h"
30 #include "net/quic/core/crypto/quic_server_info.h" 30 #include "net/quic/core/crypto/quic_server_info.h"
31 #include "net/quic/core/quic_client_promised_info.h" 31 #include "net/quic/core/quic_client_promised_info.h"
32 #include "net/quic/core/quic_crypto_client_stream_factory.h" 32 #include "net/quic/core/quic_crypto_client_stream_factory.h"
33 #include "net/quic/core/spdy_utils.h" 33 #include "net/quic/core/spdy_utils.h"
34 #include "net/socket/datagram_client_socket.h"
34 #include "net/spdy/spdy_http_utils.h" 35 #include "net/spdy/spdy_http_utils.h"
35 #include "net/spdy/spdy_session.h" 36 #include "net/spdy/spdy_session.h"
36 #include "net/ssl/channel_id_service.h" 37 #include "net/ssl/channel_id_service.h"
37 #include "net/ssl/ssl_connection_status_flags.h" 38 #include "net/ssl/ssl_connection_status_flags.h"
38 #include "net/ssl/ssl_info.h" 39 #include "net/ssl/ssl_info.h"
39 #include "net/ssl/token_binding.h" 40 #include "net/ssl/token_binding.h"
40 #include "net/udp/datagram_client_socket.h"
41 #include "third_party/boringssl/src/include/openssl/ssl.h" 41 #include "third_party/boringssl/src/include/openssl/ssl.h"
42 42
43 namespace net { 43 namespace net {
44 44
45 namespace { 45 namespace {
46 46
47 // IPv6 packets have an additional 20 bytes of overhead than IPv4 packets. 47 // IPv6 packets have an additional 20 bytes of overhead than IPv4 packets.
48 const size_t kAdditionalOverheadForIPv6 = 20; 48 const size_t kAdditionalOverheadForIPv6 = 20;
49 49
50 // Maximum number of Readers that are created for any session due to 50 // Maximum number of Readers that are created for any session due to
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 connect_timing_.ssl_start = connect_timing_.connect_start; 1497 connect_timing_.ssl_start = connect_timing_.connect_start;
1498 connect_timing_.ssl_end = connect_timing_.connect_end; 1498 connect_timing_.ssl_end = connect_timing_.connect_end;
1499 return connect_timing_; 1499 return connect_timing_;
1500 } 1500 }
1501 1501
1502 QuicVersion QuicChromiumClientSession::GetQuicVersion() const { 1502 QuicVersion QuicChromiumClientSession::GetQuicVersion() const {
1503 return connection()->version(); 1503 return connection()->version();
1504 } 1504 }
1505 1505
1506 } // namespace net 1506 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/quic_chromium_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698