OLD | NEW |
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 14 matching lines...) Expand all Loading... |
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_crypto_client_stream_factory.h" | 29 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" |
30 #include "net/quic/chromium/quic_server_info.h" | 30 #include "net/quic/chromium/quic_server_info.h" |
31 #include "net/quic/chromium/quic_stream_factory.h" | 31 #include "net/quic/chromium/quic_stream_factory.h" |
32 #include "net/quic/core/quic_client_promised_info.h" | 32 #include "net/quic/core/quic_client_promised_info.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/socket/datagram_client_socket.h" |
35 #include "net/spdy/spdy_http_utils.h" | 35 #include "net/spdy/chromium/spdy_http_utils.h" |
36 #include "net/spdy/spdy_log_util.h" | 36 #include "net/spdy/chromium/spdy_log_util.h" |
37 #include "net/spdy/spdy_session.h" | 37 #include "net/spdy/chromium/spdy_session.h" |
38 #include "net/ssl/channel_id_service.h" | 38 #include "net/ssl/channel_id_service.h" |
39 #include "net/ssl/ssl_connection_status_flags.h" | 39 #include "net/ssl/ssl_connection_status_flags.h" |
40 #include "net/ssl/ssl_info.h" | 40 #include "net/ssl/ssl_info.h" |
41 #include "net/ssl/token_binding.h" | 41 #include "net/ssl/token_binding.h" |
42 #include "third_party/boringssl/src/include/openssl/ssl.h" | 42 #include "third_party/boringssl/src/include/openssl/ssl.h" |
43 | 43 |
44 namespace net { | 44 namespace net { |
45 | 45 |
46 namespace { | 46 namespace { |
47 | 47 |
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 } | 1488 } |
1489 | 1489 |
1490 size_t QuicChromiumClientSession::EstimateMemoryUsage() const { | 1490 size_t QuicChromiumClientSession::EstimateMemoryUsage() const { |
1491 // TODO(xunjieli): Estimate |crypto_stream_|, QuicSpdySession's | 1491 // TODO(xunjieli): Estimate |crypto_stream_|, QuicSpdySession's |
1492 // QuicHeaderList, QuicSession's QuiCWriteBlockedList, open streams and | 1492 // QuicHeaderList, QuicSession's QuiCWriteBlockedList, open streams and |
1493 // unacked packet map. | 1493 // unacked packet map. |
1494 return base::trace_event::EstimateMemoryUsage(packet_readers_); | 1494 return base::trace_event::EstimateMemoryUsage(packet_readers_); |
1495 } | 1495 } |
1496 | 1496 |
1497 } // namespace net | 1497 } // namespace net |
OLD | NEW |