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

Unified Diff: trunk/src/net/spdy/spdy_session.h

Issue 485943004: Revert 290320 "Refactor pooling logic into a helper method" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | « trunk/src/net/socket/ssl_client_socket_pool_unittest.cc ('k') | trunk/src/net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/spdy/spdy_session.h
===================================================================
--- trunk/src/net/spdy/spdy_session.h (revision 290385)
+++ trunk/src/net/spdy/spdy_session.h (working copy)
@@ -70,7 +70,6 @@
struct LoadTimingInfo;
class SpdyStream;
class SSLInfo;
-class TransportSecurityState;
// NOTE: There's an enum of the same name (also with numeric suffixes)
// in histograms.xml. Be sure to add new values there also.
@@ -223,13 +222,6 @@
FLOW_CONTROL_STREAM_AND_SESSION
};
- // Returns true if |hostname| can be pooled into an existing connection
- // associated with |ssl_info|.
- static bool CanPool(TransportSecurityState* transport_security_state,
- const SSLInfo& ssl_info,
- const std::string& old_hostname,
- const std::string& new_hostname);
-
// Create a new SpdySession.
// |spdy_session_key| is the host/port that this session connects to, privacy
// and proxy configuration settings that it's using.
@@ -237,7 +229,6 @@
// network events to.
SpdySession(const SpdySessionKey& spdy_session_key,
const base::WeakPtr<HttpServerProperties>& http_server_properties,
- TransportSecurityState* transport_security_state,
bool verify_domain_authentication,
bool enable_sending_initial_data,
bool enable_compression,
@@ -972,8 +963,6 @@
SpdySessionPool* pool_;
const base::WeakPtr<HttpServerProperties> http_server_properties_;
- TransportSecurityState* transport_security_state_;
-
// The socket handle for this session.
scoped_ptr<ClientSocketHandle> connection_;
« no previous file with comments | « trunk/src/net/socket/ssl_client_socket_pool_unittest.cc ('k') | trunk/src/net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698