summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.h
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-21 03:02:23 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-21 03:02:23 +0000
commit971746ec2d3bc209d68c3d46d1eadc68afb827af (patch)
treeb4022bc3868b5e1932b282dc61c8ee19be7aa34e /net/spdy/spdy_session.h
parentf27bb9a6ab467be9588a382643d730c86732a1d1 (diff)
downloadchromium_src-971746ec2d3bc209d68c3d46d1eadc68afb827af.zip
chromium_src-971746ec2d3bc209d68c3d46d1eadc68afb827af.tar.gz
chromium_src-971746ec2d3bc209d68c3d46d1eadc68afb827af.tar.bz2
Remove SpdyHttpStream dependency in SpdySession
BUG=none TEST=none Review URL: http://codereview.chromium.org/3035010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r--net/spdy/spdy_session.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index ec938c6..3add9b0 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -31,7 +31,6 @@
namespace net {
-class SpdyHttpStream;
class SpdyStream;
class HttpNetworkSession;
class BoundNetLog;
@@ -74,11 +73,10 @@ class SpdySession : public base::RefCounted<SpdySession>,
RequestPriority priority,
scoped_refptr<SpdyStream>* spdy_stream,
const BoundNetLog& stream_net_log,
- CompletionCallback* callback,
- const SpdyHttpStream* spdy_http_stream);
+ CompletionCallback* callback);
// Remove PendingCreateStream objects on transaction deletion
- void CancelPendingCreateStreams(const SpdyHttpStream* trans);
+ void CancelPendingCreateStreams(const scoped_refptr<SpdyStream>* spdy_stream);
// Used by SpdySessionPool to initialize with a pre-existing SSL socket.
// Returns OK on success, or an error on failure.
@@ -149,16 +147,12 @@ class SpdySession : public base::RefCounted<SpdySession>,
const BoundNetLog* stream_net_log;
CompletionCallback* callback;
- const SpdyHttpStream* spdy_http_stream;
-
PendingCreateStream(const GURL& url, RequestPriority priority,
scoped_refptr<SpdyStream>* spdy_stream,
const BoundNetLog& stream_net_log,
- CompletionCallback* callback,
- const SpdyHttpStream* spdy_http_stream)
+ CompletionCallback* callback)
: url(&url), priority(priority), spdy_stream(spdy_stream),
- stream_net_log(&stream_net_log), callback(callback),
- spdy_http_stream(spdy_http_stream) { }
+ stream_net_log(&stream_net_log), callback(callback) { }
};
typedef std::queue<PendingCreateStream, std::list< PendingCreateStream> >
PendingCreateStreamQueue;