diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 16:09:26 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 16:09:26 +0000 |
commit | 0d10b59f4aea52986c9ad1fa500815dc04b4069d (patch) | |
tree | cba5bc3abfb9848fdfb1be36730b658159b0df0c /net/quic/quic_reliable_client_stream.h | |
parent | 2f36c72736a0ca7a7b4f3b4452404c1db04b5f87 (diff) | |
download | chromium_src-0d10b59f4aea52986c9ad1fa500815dc04b4069d.zip chromium_src-0d10b59f4aea52986c9ad1fa500815dc04b4069d.tar.gz chromium_src-0d10b59f4aea52986c9ad1fa500815dc04b4069d.tar.bz2 |
Enhance net internals/net log output for QUIC.
Fix use after free bug in initial implementation.
Initially landed: 182331
Reverted: 182335
Review URL: https://chromiumcodereview.appspot.com/12253020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_reliable_client_stream.h')
-rw-r--r-- | net/quic/quic_reliable_client_stream.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/quic/quic_reliable_client_stream.h b/net/quic/quic_reliable_client_stream.h index fd5e6cc..77ac787 100644 --- a/net/quic/quic_reliable_client_stream.h +++ b/net/quic/quic_reliable_client_stream.h @@ -56,7 +56,8 @@ class NET_EXPORT_PRIVATE QuicReliableClientStream : public ReliableQuicStream { }; QuicReliableClientStream(QuicStreamId id, - QuicSession* session); + QuicSession* session, + const BoundNetLog& net_log); virtual ~QuicReliableClientStream(); @@ -72,7 +73,10 @@ class NET_EXPORT_PRIVATE QuicReliableClientStream : public ReliableQuicStream { Delegate* GetDelegate() { return delegate_; } void OnError(int error); + const BoundNetLog& net_log() const { return net_log_; } + private: + BoundNetLog net_log_; Delegate* delegate_; DISALLOW_COPY_AND_ASSIGN(QuicReliableClientStream); |