diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 16:16:26 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 16:16:26 +0000 |
commit | 33661e48840aaf44b3efe090b3e947ef83f67a0a (patch) | |
tree | 68f71046efc5e025e92ec7df6139c0738d47822d /net/socket/buffered_write_stream_socket.cc | |
parent | 10abb583615dd307782034fabadcc0555c12fcd7 (diff) | |
download | chromium_src-33661e48840aaf44b3efe090b3e947ef83f67a0a.zip chromium_src-33661e48840aaf44b3efe090b3e947ef83f67a0a.tar.gz chromium_src-33661e48840aaf44b3efe090b3e947ef83f67a0a.tar.bz2 |
Add a new GetNegotiatedProtocol method to StreamSocket and implement in all subclasses.
BUG=120890
Review URL: https://chromiumcodereview.appspot.com/9958028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/buffered_write_stream_socket.cc')
-rw-r--r-- | net/socket/buffered_write_stream_socket.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/buffered_write_stream_socket.cc b/net/socket/buffered_write_stream_socket.cc index 94c6d57..028dfde 100644 --- a/net/socket/buffered_write_stream_socket.cc +++ b/net/socket/buffered_write_stream_socket.cc @@ -119,6 +119,10 @@ base::TimeDelta BufferedWriteStreamSocket::GetConnectTimeMicros() const { return wrapped_socket_->GetConnectTimeMicros(); } +NextProto BufferedWriteStreamSocket::GetNegotiatedProtocol() const { + return wrapped_socket_->GetNegotiatedProtocol(); +} + void BufferedWriteStreamSocket::DoDelayedWrite() { int result = wrapped_socket_->Write( io_buffer_, io_buffer_->RemainingCapacity(), |