| 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 // A client specific QuicSession subclass. This class owns the underlying | 5 // A client specific QuicSession subclass. This class owns the underlying |
| 6 // QuicConnection and QuicConnectionHelper objects. The connection stores | 6 // QuicConnection and QuicConnectionHelper objects. The connection stores |
| 7 // a non-owning pointer to the helper so this session needs to ensure that | 7 // a non-owning pointer to the helper so this session needs to ensure that |
| 8 // the helper outlives the connection. | 8 // the helper outlives the connection. |
| 9 | 9 |
| 10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| 11 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 11 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| 12 | 12 |
| 13 #include <stddef.h> | 13 #include <stddef.h> |
| 14 | 14 |
| 15 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "base/containers/mru_cache.h" | 17 #include "base/containers/mru_cache.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 21 #include "net/base/completion_callback.h" | 21 #include "net/base/completion_callback.h" |
| 22 #include "net/base/net_error_details.h" | 22 #include "net/base/net_error_details.h" |
| 23 #include "net/base/socket_performance_watcher.h" | |
| 24 #include "net/cert/ct_verify_result.h" | 23 #include "net/cert/ct_verify_result.h" |
| 25 #include "net/proxy/proxy_server.h" | 24 #include "net/proxy/proxy_server.h" |
| 26 #include "net/quic/quic_chromium_client_stream.h" | 25 #include "net/quic/quic_chromium_client_stream.h" |
| 27 #include "net/quic/quic_chromium_packet_reader.h" | 26 #include "net/quic/quic_chromium_packet_reader.h" |
| 28 #include "net/quic/quic_client_session_base.h" | 27 #include "net/quic/quic_client_session_base.h" |
| 29 #include "net/quic/quic_connection_logger.h" | 28 #include "net/quic/quic_connection_logger.h" |
| 30 #include "net/quic/quic_crypto_client_stream.h" | 29 #include "net/quic/quic_crypto_client_stream.h" |
| 31 #include "net/quic/quic_protocol.h" | 30 #include "net/quic/quic_protocol.h" |
| 32 #include "net/quic/quic_time.h" | 31 #include "net/quic/quic_time.h" |
| 32 #include "net/socket/socket_performance_watcher.h" |
| 33 | 33 |
| 34 namespace net { | 34 namespace net { |
| 35 | 35 |
| 36 class CertVerifyResult; | 36 class CertVerifyResult; |
| 37 class DatagramClientSocket; | 37 class DatagramClientSocket; |
| 38 class QuicChromiumConnectionHelper; | 38 class QuicChromiumConnectionHelper; |
| 39 class QuicCryptoClientStreamFactory; | 39 class QuicCryptoClientStreamFactory; |
| 40 class QuicServerId; | 40 class QuicServerId; |
| 41 class QuicServerInfo; | 41 class QuicServerInfo; |
| 42 class QuicStreamFactory; | 42 class QuicStreamFactory; |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 int streams_pushed_count_; | 348 int streams_pushed_count_; |
| 349 int streams_pushed_and_claimed_count_; | 349 int streams_pushed_and_claimed_count_; |
| 350 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; | 350 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; |
| 351 | 351 |
| 352 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); | 352 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); |
| 353 }; | 353 }; |
| 354 | 354 |
| 355 } // namespace net | 355 } // namespace net |
| 356 | 356 |
| 357 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 357 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| OLD | NEW |