| Index: net/test/spawned_test_server/base_test_server.h
|
| diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
|
| index b72e5d3e05a5ab4aa427e85ea345f93fea3db5b6..9eda67a29f693bf7cadd4a174be726144047c993 100644
|
| --- a/net/test/spawned_test_server/base_test_server.h
|
| +++ b/net/test/spawned_test_server/base_test_server.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/files/file_path.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/ssl/ssl_client_cert_type.h"
|
| @@ -25,6 +26,7 @@ namespace net {
|
|
|
| class AddressList;
|
| class ScopedPortException;
|
| +class X509Certificate;
|
|
|
| // The base class of Test server implementation.
|
| class BaseTestServer {
|
| @@ -271,6 +273,9 @@ class BaseTestServer {
|
| // the duration of tests.
|
| bool LoadTestRootCert() const WARN_UNUSED_RESULT;
|
|
|
| + // Returns the certificate that the server is using.
|
| + scoped_refptr<X509Certificate> GetCertificate() const;
|
| +
|
| protected:
|
| virtual ~BaseTestServer();
|
| Type type() const { return type_; }
|
|
|