| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <list> | 10 #include <list> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <queue> | 12 #include <queue> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/task.h" | 18 #include "base/task.h" |
| 19 #include "net/base/io_buffer.h" | 19 #include "net/base/io_buffer.h" |
| 20 #include "net/base/load_states.h" | 20 #include "net/base/load_states.h" |
| 21 #include "net/base/net_errors.h" | 21 #include "net/base/net_errors.h" |
| 22 #include "net/base/net_log.h" | 22 #include "net/base/net_log.h" |
| 23 #include "net/base/request_priority.h" | 23 #include "net/base/request_priority.h" |
| 24 #include "net/base/ssl_config_service.h" | 24 #include "net/base/ssl_config_service.h" |
| 25 #include "net/base/upload_data_stream.h" | 25 #include "net/base/upload_data_stream.h" |
| 26 #include "net/socket/client_socket.h" | |
| 27 #include "net/socket/client_socket_handle.h" | 26 #include "net/socket/client_socket_handle.h" |
| 27 #include "net/socket/stream_socket.h" |
| 28 #include "net/spdy/spdy_framer.h" | 28 #include "net/spdy/spdy_framer.h" |
| 29 #include "net/spdy/spdy_io_buffer.h" | 29 #include "net/spdy/spdy_io_buffer.h" |
| 30 #include "net/spdy/spdy_protocol.h" | 30 #include "net/spdy/spdy_protocol.h" |
| 31 #include "net/spdy/spdy_session_pool.h" | 31 #include "net/spdy/spdy_session_pool.h" |
| 32 | 32 |
| 33 namespace net { | 33 namespace net { |
| 34 | 34 |
| 35 // This is somewhat arbitrary and not really fixed, but it will always work | 35 // This is somewhat arbitrary and not really fixed, but it will always work |
| 36 // reasonably with ethernet. Chop the world into 2-packet chunks. This is | 36 // reasonably with ethernet. Chop the world into 2-packet chunks. This is |
| 37 // somewhat arbitrary, but is reasonably small and ensures that we elicit | 37 // somewhat arbitrary, but is reasonably small and ensures that we elicit |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 const spdy::SpdyControlFlags flags_; | 457 const spdy::SpdyControlFlags flags_; |
| 458 const spdy::SpdyStreamId id_; | 458 const spdy::SpdyStreamId id_; |
| 459 const spdy::SpdyStreamId associated_stream_; | 459 const spdy::SpdyStreamId associated_stream_; |
| 460 | 460 |
| 461 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); | 461 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); |
| 462 }; | 462 }; |
| 463 | 463 |
| 464 } // namespace net | 464 } // namespace net |
| 465 | 465 |
| 466 #endif // NET_SPDY_SPDY_SESSION_H_ | 466 #endif // NET_SPDY_SPDY_SESSION_H_ |
| OLD | NEW |