summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/ssl_socket_adapter.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 /remoting/jingle_glue/ssl_socket_adapter.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 'remoting/jingle_glue/ssl_socket_adapter.h')
-rw-r--r--remoting/jingle_glue/ssl_socket_adapter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/jingle_glue/ssl_socket_adapter.h b/remoting/jingle_glue/ssl_socket_adapter.h
index ea8cff1..24b0e05 100644
--- a/remoting/jingle_glue/ssl_socket_adapter.h
+++ b/remoting/jingle_glue/ssl_socket_adapter.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.
@@ -53,6 +53,7 @@ class TransportSocket : public net::StreamSocket, public sigslot::has_slots<> {
virtual bool UsingTCPFastOpen() const OVERRIDE;
virtual int64 NumBytesRead() const OVERRIDE;
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
+ virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE;
// net::Socket implementation.
virtual int Read(net::IOBuffer* buf, int buf_len,