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

Unified Diff: net/spdy/spdy_session_pool.h

Issue 2141993002: Remove many-many SpdyMajorVersion and NextProto arguments and members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove OnSynStream() and OnSynReply(). Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index bdcb03b0ce637642a3667d9534648bf7b212d4a5..77d318d6fb1072e7ff3a827e01fd2e570f0ffcd6 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -23,7 +23,6 @@
#include "net/cert/cert_database.h"
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_server.h"
-#include "net/socket/next_proto.h"
#include "net/spdy/spdy_session_key.h"
#include "net/ssl/ssl_config_service.h"
@@ -46,16 +45,12 @@ class NET_EXPORT SpdySessionPool
public:
typedef base::TimeTicks (*TimeFunc)(void);
- // |default_protocol| may be kProtoUnknown (e.g., if SPDY is
- // disabled), in which case it's set to a default value. Otherwise,
- // it must be a SPDY protocol.
SpdySessionPool(HostResolver* host_resolver,
SSLConfigService* ssl_config_service,
HttpServerProperties* http_server_properties,
TransportSecurityState* transport_security_state,
bool enable_ping_based_connection_checking,
bool enable_priority_dependencies,
- NextProto default_protocol,
size_t session_max_recv_window_size,
size_t stream_max_recv_window_size,
SpdySessionPool::TimeFunc time_func,
@@ -71,8 +66,7 @@ class NET_EXPORT SpdySessionPool
// processing existing streams.
// Create a new SPDY session from an existing socket. There must
- // not already be a session for the given key. This pool must have
- // been constructed with a valid |default_protocol| value.
+ // not already be a session for the given key.
//
// |is_secure| can be false for testing or when SPDY is configured
// to work with non-secure sockets. If |is_secure| is true,
@@ -228,7 +222,6 @@ class NET_EXPORT SpdySessionPool
bool enable_sending_initial_data_;
bool enable_ping_based_connection_checking_;
const bool enable_priority_dependencies_;
- const NextProto default_protocol_;
size_t session_max_recv_window_size_;
size_t stream_max_recv_window_size_;
TimeFunc time_func_;
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698