diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-01 07:57:35 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-01 07:57:35 +0000 |
commit | 490937ae6ee14316801453a05cc2aafc159f440e (patch) | |
tree | b7e42c639db713a935cc5f1d42241887f686a0e1 /net/spdy/spdy_stream.h | |
parent | b8d1429079fa105c1ed01f8f5f1946c5980f0302 (diff) | |
download | chromium_src-490937ae6ee14316801453a05cc2aafc159f440e.zip chromium_src-490937ae6ee14316801453a05cc2aafc159f440e.tar.gz chromium_src-490937ae6ee14316801453a05cc2aafc159f440e.tar.bz2 |
Migrate spdy_session from using LOG() to NetLog. In the process, I'm
trying to move to a more consistent model of logging between the SpdySession,
SpdyStream, and HttpNetworkTransaction. Frame-level events belong on the
session, so that we can get a clean view of what happened on the session.
I'll be updating the spdy_stream next.
BUG=53956
TEST=none
Review URL: http://codereview.chromium.org/3212010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream.h')
-rw-r--r-- | net/spdy/spdy_stream.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h index 14580ff..1730af5 100644 --- a/net/spdy/spdy_stream.h +++ b/net/spdy/spdy_stream.h @@ -76,7 +76,10 @@ class SpdyStream : public base::RefCounted<SpdyStream> { }; // SpdyStream constructor - SpdyStream(SpdySession* session, spdy::SpdyStreamId stream_id, bool pushed); + SpdyStream(SpdySession* session, + spdy::SpdyStreamId stream_id, + bool pushed, + const BoundNetLog& net_log); // Set new |delegate|. |delegate| must not be NULL. // If it already received SYN_REPLY or data, OnResponseReceived() or @@ -137,7 +140,6 @@ class SpdyStream : public base::RefCounted<SpdyStream> { void DecreaseRecvWindowSize(int delta_window_size); const BoundNetLog& net_log() const { return net_log_; } - void set_net_log(const BoundNetLog& log) { net_log_ = log; } const linked_ptr<spdy::SpdyHeaderBlock>& spdy_headers() const; void set_spdy_headers(const linked_ptr<spdy::SpdyHeaderBlock>& headers); |