diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 00:43:22 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 00:43:22 +0000 |
commit | 5fe524efcaf51b401067d936b5ff331249dc99df (patch) | |
tree | 6682f9e38cdce9d6d5f2f8a341d57642d6befe2c /net/spdy/spdy_session.h | |
parent | a04aef09a3b4264a86f52f055c8593d8a8979798 (diff) | |
download | chromium_src-5fe524efcaf51b401067d936b5ff331249dc99df.zip chromium_src-5fe524efcaf51b401067d936b5ff331249dc99df.tar.gz chromium_src-5fe524efcaf51b401067d936b5ff331249dc99df.tar.bz2 |
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
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r-- | net/spdy/spdy_session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h index e443580..e173a6a 100644 --- a/net/spdy/spdy_session.h +++ b/net/spdy/spdy_session.h @@ -108,8 +108,8 @@ class SpdySession : public base::RefCounted<SpdySession>, virtual ~SpdySession(); - // Used by SpdySessionPool to initialize with a pre-existing socket. - void InitializeWithSocket(ClientSocketHandle* connection); + // Used by SpdySessionPool to initialize with a pre-existing SSL socket. + void InitializeWithSSLSocket(ClientSocketHandle* connection); // SpdyFramerVisitorInterface virtual void OnError(spdy::SpdyFramer*); |