| 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 #ifndef NET_SPDY_SPDY_SESSION_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_H_ |
| 6 #define NET_SPDY_SPDY_SESSION_H_ | 6 #define NET_SPDY_SPDY_SESSION_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <queue> | 11 #include <queue> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/time.h" | 17 #include "base/time.h" |
| 18 #include "net/base/io_buffer.h" | 18 #include "net/base/io_buffer.h" |
| 19 #include "net/base/load_states.h" | 19 #include "net/base/load_states.h" |
| 20 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
| 21 #include "net/base/request_priority.h" | 21 #include "net/base/request_priority.h" |
| 22 #include "net/base/ssl_client_cert_type.h" | 22 #include "net/base/ssl_client_cert_type.h" |
| 23 #include "net/base/ssl_config_service.h" | 23 #include "net/base/ssl_config_service.h" |
| 24 #include "net/base/upload_data_stream.h" | 24 #include "net/base/upload_data_stream.h" |
| 25 #include "net/socket/client_socket_handle.h" | 25 #include "net/socket/client_socket_handle.h" |
| 26 #include "net/socket/ssl_client_socket.h" | 26 #include "net/socket/ssl_client_socket.h" |
| 27 #include "net/socket/stream_socket.h" | 27 #include "net/socket/stream_socket.h" |
| 28 #include "net/spdy/buffered_spdy_framer.h" | 28 #include "net/spdy/buffered_spdy_framer.h" |
| 29 #include "net/spdy/spdy_credential_state.h" | 29 #include "net/spdy/spdy_credential_state.h" |
| 30 #include "net/spdy/spdy_header_block.h" |
| 30 #include "net/spdy/spdy_io_buffer.h" | 31 #include "net/spdy/spdy_io_buffer.h" |
| 31 #include "net/spdy/spdy_protocol.h" | 32 #include "net/spdy/spdy_protocol.h" |
| 32 #include "net/spdy/spdy_session_pool.h" | 33 #include "net/spdy/spdy_session_pool.h" |
| 33 | 34 |
| 34 namespace net { | 35 namespace net { |
| 35 | 36 |
| 36 // This is somewhat arbitrary and not really fixed, but it will always work | 37 // This is somewhat arbitrary and not really fixed, but it will always work |
| 37 // reasonably with ethernet. Chop the world into 2-packet chunks. This is | 38 // reasonably with ethernet. Chop the world into 2-packet chunks. This is |
| 38 // somewhat arbitrary, but is reasonably small and ensures that we elicit | 39 // somewhat arbitrary, but is reasonably small and ensures that we elicit |
| 39 // ACKs quickly from TCP (because TCP tries to only ACK every other packet). | 40 // ACKs quickly from TCP (because TCP tries to only ACK every other packet). |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 base::TimeDelta hung_interval_; | 741 base::TimeDelta hung_interval_; |
| 741 | 742 |
| 742 // This SPDY proxy is allowed to push resources from origins that are | 743 // This SPDY proxy is allowed to push resources from origins that are |
| 743 // different from those of their associated streams. | 744 // different from those of their associated streams. |
| 744 HostPortPair trusted_spdy_proxy_; | 745 HostPortPair trusted_spdy_proxy_; |
| 745 }; | 746 }; |
| 746 | 747 |
| 747 } // namespace net | 748 } // namespace net |
| 748 | 749 |
| 749 #endif // NET_SPDY_SPDY_SESSION_H_ | 750 #endif // NET_SPDY_SPDY_SESSION_H_ |
| OLD | NEW |