diff options
Diffstat (limited to 'net/socket/ssl_test_util.h')
-rw-r--r-- | net/socket/ssl_test_util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/socket/ssl_test_util.h b/net/socket/ssl_test_util.h index cf24ee5..e9a6afc 100644 --- a/net/socket/ssl_test_util.h +++ b/net/socket/ssl_test_util.h @@ -11,6 +11,10 @@ #include "base/file_path.h" #include "base/process_util.h" +#if defined(USE_NSS) +#include "base/ref_counted.h" +#include "net/base/x509_certificate.h" +#endif // TODO(dkegel): share this between net/base and // chrome/browser without putting it in net.lib @@ -118,8 +122,7 @@ class TestServerLauncher { int connection_timeout_; #if defined(USE_NSS) - struct PrivateCERTCertificate; - PrivateCERTCertificate *cert_; + scoped_refptr<X509Certificate> cert_; #endif DISALLOW_COPY_AND_ASSIGN(TestServerLauncher); |