Make explicit the assumption that SpdySession::InitializeWithSocket takes
an SSLClientSocket by renaming the methods and adding a DCHECK.

R=willchan
BUG=none
TEST=No compilation errors.
Review URL: http://codereview.chromium.org/650085

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39528 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 108f3e7..f118dbd 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -30,11 +30,11 @@
   scoped_refptr<SpdySession> Get(
       const HostResolver::RequestInfo& info, HttpNetworkSession* session);
 
-  // Builds a SpdySession from an existing socket.  Users should try calling
-  // Get() first to use an existing SpdySession so we don't get multiple
-  // SpdySessions per domain.  Note that ownership of |connection| is
+  // Builds a SpdySession from an existing SSL socket.  Users should try
+  // calling Get() first to use an existing SpdySession so we don't get
+  // multiple SpdySessions per domain.  Note that ownership of |connection| is
   // transferred from the caller to the SpdySession.
-  scoped_refptr<SpdySession> GetSpdySessionFromSocket(
+  scoped_refptr<SpdySession> GetSpdySessionFromSSLSocket(
       const HostResolver::RequestInfo& info,
       HttpNetworkSession* session,
       ClientSocketHandle* connection);