summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_libevent.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 16:16:26 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 16:16:26 +0000
commit33661e48840aaf44b3efe090b3e947ef83f67a0a (patch)
tree68f71046efc5e025e92ec7df6139c0738d47822d /net/socket/tcp_client_socket_libevent.h
parent10abb583615dd307782034fabadcc0555c12fcd7 (diff)
downloadchromium_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/tcp_client_socket_libevent.h')
-rw-r--r--net/socket/tcp_client_socket_libevent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h
index a6aa241..5519f3c 100644
--- a/net/socket/tcp_client_socket_libevent.h
+++ b/net/socket/tcp_client_socket_libevent.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -56,6 +56,7 @@ class NET_EXPORT_PRIVATE TCPClientSocketLibevent : public StreamSocket,
virtual bool UsingTCPFastOpen() const OVERRIDE;
virtual int64 NumBytesRead() const OVERRIDE;
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
+ virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
// Socket implementation.
// Multiple outstanding requests are not supported.