summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 19:21:07 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 19:21:07 +0000
commit33c477b6420946bd37d3e5c18f63db2961bad4e4 (patch)
tree5b9f27b84058b3e1d8943dab24e7eee6dc843063 /net/spdy/spdy_stream.h
parent96da696cd0f43a860dd4ea6b135b958f95ed5e52 (diff)
downloadchromium_src-33c477b6420946bd37d3e5c18f63db2961bad4e4.zip
chromium_src-33c477b6420946bd37d3e5c18f63db2961bad4e4.tar.gz
chromium_src-33c477b6420946bd37d3e5c18f63db2961bad4e4.tar.bz2
Add SPDY SYN_STREAM and SYN_REPLY events to about:net-internals.
BUG=43237 Review URL: http://codereview.chromium.org/2004010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47174 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream.h')
-rw-r--r--net/spdy/spdy_stream.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index 37f6900bf..bfd79d0 100644
--- a/net/spdy/spdy_stream.h
+++ b/net/spdy/spdy_stream.h
@@ -37,8 +37,7 @@ class UploadDataStream;
class SpdyStream : public base::RefCounted<SpdyStream> {
public:
// SpdyStream constructor
- SpdyStream(SpdySession* session, spdy::SpdyStreamId stream_id, bool pushed,
- const BoundNetLog& log);
+ SpdyStream(SpdySession* session, spdy::SpdyStreamId stream_id, bool pushed);
// Ideally I'd use two abstract classes as interfaces for these two sections,
// but since we're ref counted, I can't make both abstract classes inherit
@@ -90,6 +89,9 @@ class SpdyStream : public base::RefCounted<SpdyStream> {
int priority() const { return priority_; }
void set_priority(int priority) { priority_ = priority; }
+ const BoundNetLog& net_log() const { return net_log_; }
+ void set_net_log(const BoundNetLog& log) { net_log_ = log; }
+
const HttpResponseInfo* GetResponseInfo() const;
const HttpRequestInfo* GetRequestInfo() const;
void SetRequestInfo(const HttpRequestInfo& request);