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

Side by Side Diff: net/spdy/spdy_session.h

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_session.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 #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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/time.h" 18 #include "base/time.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/request_priority.h" 22 #include "net/base/request_priority.h"
23 #include "net/base/ssl_client_cert_type.h"
24 #include "net/base/ssl_config_service.h"
25 #include "net/socket/client_socket_handle.h" 23 #include "net/socket/client_socket_handle.h"
26 #include "net/socket/ssl_client_socket.h" 24 #include "net/socket/ssl_client_socket.h"
27 #include "net/socket/stream_socket.h" 25 #include "net/socket/stream_socket.h"
28 #include "net/spdy/buffered_spdy_framer.h" 26 #include "net/spdy/buffered_spdy_framer.h"
29 #include "net/spdy/spdy_credential_state.h" 27 #include "net/spdy/spdy_credential_state.h"
30 #include "net/spdy/spdy_header_block.h" 28 #include "net/spdy/spdy_header_block.h"
31 #include "net/spdy/spdy_io_buffer.h" 29 #include "net/spdy/spdy_io_buffer.h"
32 #include "net/spdy/spdy_protocol.h" 30 #include "net/spdy/spdy_protocol.h"
33 #include "net/spdy/spdy_session_pool.h" 31 #include "net/spdy/spdy_session_pool.h"
32 #include "net/ssl/ssl_client_cert_type.h"
33 #include "net/ssl/ssl_config_service.h"
34 34
35 namespace net { 35 namespace net {
36 36
37 // 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
38 // 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
39 // somewhat arbitrary, but is reasonably small and ensures that we elicit 39 // somewhat arbitrary, but is reasonably small and ensures that we elicit
40 // 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).
41 const int kMss = 1430; 41 const int kMss = 1430;
42 // The 8 is the size of the SPDY frame header. 42 // The 8 is the size of the SPDY frame header.
43 const int kMaxSpdyFrameChunkSize = (2 * kMss) - 8; 43 const int kMaxSpdyFrameChunkSize = (2 * kMss) - 8;
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 // This SPDY proxy is allowed to push resources from origins that are 880 // This SPDY proxy is allowed to push resources from origins that are
881 // different from those of their associated streams. 881 // different from those of their associated streams.
882 HostPortPair trusted_spdy_proxy_; 882 HostPortPair trusted_spdy_proxy_;
883 883
884 TimeFunc time_func_; 884 TimeFunc time_func_;
885 }; 885 };
886 886
887 } // namespace net 887 } // namespace net
888 888
889 #endif // NET_SPDY_SPDY_SESSION_H_ 889 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698