summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/ssl_socket_adapter.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 03:16:25 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 03:16:25 +0000
commit778f0ee11c9b391ac76fff4ab04bd4f13fbc23d9 (patch)
tree813662d964145ea1f6af3f622d59b9f9b62b1c2e /remoting/jingle_glue/ssl_socket_adapter.h
parent7c5430087b833abff7ed8527584646af1078085f (diff)
downloadchromium_src-778f0ee11c9b391ac76fff4ab04bd4f13fbc23d9.zip
chromium_src-778f0ee11c9b391ac76fff4ab04bd4f13fbc23d9.tar.gz
chromium_src-778f0ee11c9b391ac76fff4ab04bd4f13fbc23d9.tar.bz2
Add CertVerifier to SocketStreamAdapter
BUG=None TEST=None Review URL: http://codereview.chromium.org/6072007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/ssl_socket_adapter.h')
-rw-r--r--remoting/jingle_glue/ssl_socket_adapter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/jingle_glue/ssl_socket_adapter.h b/remoting/jingle_glue/ssl_socket_adapter.h
index 6c80b26..cda1886 100644
--- a/remoting/jingle_glue/ssl_socket_adapter.h
+++ b/remoting/jingle_glue/ssl_socket_adapter.h
@@ -15,6 +15,10 @@
#include "third_party/libjingle/source/talk/base/asyncsocket.h"
#include "third_party/libjingle/source/talk/base/ssladapter.h"
+namespace net {
+class CertVerifier;
+} // namespace net
+
namespace remoting {
class SSLSocketAdapter;
@@ -129,6 +133,7 @@ class SSLSocketAdapter : public talk_base::SSLAdapter {
std::string hostname_;
TransportSocket* transport_socket_;
scoped_ptr<net::SSLClientSocket> ssl_socket_;
+ scoped_ptr<net::CertVerifier> cert_verifier_;
net::CompletionCallbackImpl<SSLSocketAdapter> connected_callback_;
net::CompletionCallbackImpl<SSLSocketAdapter> read_callback_;
net::CompletionCallbackImpl<SSLSocketAdapter> write_callback_;