summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_factory.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 21:51:12 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 21:51:12 +0000
commitd8fbf589947080e223c40c3dad7b2f3f7a54c66d (patch)
tree197f56d4838ae199613e1d60e0a869f6f7c478cb /net/socket/client_socket_factory.h
parenta74507d345c15f077dcd72b810185ade89fedce5 (diff)
downloadchromium_src-d8fbf589947080e223c40c3dad7b2f3f7a54c66d.zip
chromium_src-d8fbf589947080e223c40c3dad7b2f3f7a54c66d.tar.gz
chromium_src-d8fbf589947080e223c40c3dad7b2f3f7a54c66d.tar.bz2
net: add certificate provenance checking.
BUG=none TEST=none http://codereview.chromium.org/4448001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket_factory.h')
-rw-r--r--net/socket/client_socket_factory.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/socket/client_socket_factory.h b/net/socket/client_socket_factory.h
index ad2cc54..4814b9c 100644
--- a/net/socket/client_socket_factory.h
+++ b/net/socket/client_socket_factory.h
@@ -15,6 +15,7 @@ namespace net {
class AddressList;
class ClientSocket;
class ClientSocketHandle;
+class DnsRRResolver;
class SSLClientSocket;
struct SSLConfig;
class SSLHostInfo;
@@ -24,7 +25,8 @@ typedef SSLClientSocket* (*SSLClientSocketFactory)(
ClientSocketHandle* transport_socket,
const std::string& hostname,
const SSLConfig& ssl_config,
- SSLHostInfo* ssl_host_info);
+ SSLHostInfo* ssl_host_info,
+ DnsRRResolver* dnsrr_resolver);
// An interface used to instantiate ClientSocket objects. Used to facilitate
// testing code with mock socket implementations.
@@ -43,7 +45,8 @@ class ClientSocketFactory {
ClientSocketHandle* transport_socket,
const std::string& hostname,
const SSLConfig& ssl_config,
- SSLHostInfo* ssl_host_info) = 0;
+ SSLHostInfo* ssl_host_info,
+ DnsRRResolver* dnsrr_resolver) = 0;
// Deprecated function (http://crbug.com/37810) that takes a ClientSocket.
virtual SSLClientSocket* CreateSSLClientSocket(ClientSocket* transport_socket,