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

Side by Side Diff: net/http/http_network_session.h

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix flip_in_mem_edsm_server Created 8 years 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/base/net_test_suite.cc ('k') | net/http/http_network_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_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 HttpAuthHandlerFactory* http_auth_handler_factory; 60 HttpAuthHandlerFactory* http_auth_handler_factory;
61 NetworkDelegate* network_delegate; 61 NetworkDelegate* network_delegate;
62 HttpServerProperties* http_server_properties; 62 HttpServerProperties* http_server_properties;
63 NetLog* net_log; 63 NetLog* net_log;
64 HostMappingRules* host_mapping_rules; 64 HostMappingRules* host_mapping_rules;
65 bool force_http_pipelining; 65 bool force_http_pipelining;
66 bool ignore_certificate_errors; 66 bool ignore_certificate_errors;
67 bool http_pipelining_enabled; 67 bool http_pipelining_enabled;
68 uint16 testing_fixed_http_port; 68 uint16 testing_fixed_http_port;
69 uint16 testing_fixed_https_port; 69 uint16 testing_fixed_https_port;
70 size_t max_spdy_sessions_per_domain;
71 bool force_spdy_single_domain;
72 bool enable_spdy_ip_pooling;
73 bool enable_spdy_credential_frames;
74 bool enable_spdy_compression;
75 bool enable_spdy_ping_based_connection_checking;
76 NextProto spdy_default_protocol;
77 size_t spdy_initial_recv_window_size;
78 size_t spdy_initial_max_concurrent_streams;
79 size_t spdy_max_concurrent_streams_limit;
80 SpdySessionPool::TimeFunc time_func;
70 std::string trusted_spdy_proxy; 81 std::string trusted_spdy_proxy;
71 }; 82 };
72 83
73 enum SocketPoolType { 84 enum SocketPoolType {
74 NORMAL_SOCKET_POOL, 85 NORMAL_SOCKET_POOL,
75 WEBSOCKET_SOCKET_POOL, 86 WEBSOCKET_SOCKET_POOL,
76 NUM_SOCKET_POOL_TYPES 87 NUM_SOCKET_POOL_TYPES
77 }; 88 };
78 89
79 explicit HttpNetworkSession(const Params& params); 90 explicit HttpNetworkSession(const Params& params);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 SpdySessionPool spdy_session_pool_; 176 SpdySessionPool spdy_session_pool_;
166 scoped_ptr<HttpStreamFactory> http_stream_factory_; 177 scoped_ptr<HttpStreamFactory> http_stream_factory_;
167 std::set<HttpResponseBodyDrainer*> response_drainers_; 178 std::set<HttpResponseBodyDrainer*> response_drainers_;
168 179
169 Params params_; 180 Params params_;
170 }; 181 };
171 182
172 } // namespace net 183 } // namespace net
173 184
174 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 185 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/base/net_test_suite.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698