diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-13 22:59:51 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-13 22:59:51 +0000 |
commit | 2d188d39fac27d1ac0aebcbca3a830d532015744 (patch) | |
tree | 77deafb5892357038db1c4950d023d60a40eed6f /net/quic/quic_client_session.h | |
parent | a455dc1cd90621fb2ab0b9d0dc43b57a801e26aa (diff) | |
download | chromium_src-2d188d39fac27d1ac0aebcbca3a830d532015744.zip chromium_src-2d188d39fac27d1ac0aebcbca3a830d532015744.tar.gz chromium_src-2d188d39fac27d1ac0aebcbca3a830d532015744.tar.bz2 |
Enhance net internals/net log output for QUIC.
Review URL: https://chromiumcodereview.appspot.com/12207020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_client_session.h')
-rw-r--r-- | net/quic/quic_client_session.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h index 637514f..0247e4d 100644 --- a/net/quic/quic_client_session.h +++ b/net/quic/quic_client_session.h @@ -31,7 +31,8 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { QuicClientSession(QuicConnection* connection, QuicConnectionHelper* helper, QuicStreamFactory* stream_factory, - const std::string& server_hostname); + const std::string& server_hostname, + NetLog* net_log); virtual ~QuicClientSession(); @@ -53,6 +54,8 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { base::Value* GetInfoAsValue(const HostPortPair& pair) const; + const BoundNetLog& net_log() const { return net_log_; } + protected: // QuicSession methods: virtual ReliableQuicStream* CreateIncomingReliableStream( @@ -69,6 +72,8 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { scoped_refptr<IOBufferWithSize> read_buffer_; bool read_pending_; CompletionCallback callback_; + size_t num_total_streams_; + BoundNetLog net_log_; DISALLOW_COPY_AND_ASSIGN(QuicClientSession); }; |