| Index: net/test/test_server.h
|
| diff --git a/net/test/test_server.h b/net/test/test_server.h
|
| index 5c04a40ff92091c66dea4707eb9744e19b6f5cee..0aa9ff0ff8a8510de08694f14b6b74961fd23e48 100644
|
| --- a/net/test/test_server.h
|
| +++ b/net/test/test_server.h
|
| @@ -62,6 +62,12 @@ class TestServer {
|
| // TestRootStore) is expected to have a self-signed version of the
|
| // intermediate.
|
| CERT_CHAIN_WRONG_ROOT,
|
| + // OCSP_* causes TestServer to run both an HTTPS and HTTP server. The
|
| + // HTTP server answers OCSP queries for the HTTPS certificate, which is
|
| + // generated on the fly.
|
| + OCSP_OK,
|
| + OCSP_REVOKED,
|
| + OCSP_INVALID,
|
| };
|
|
|
| // Bitmask of bulk encryption algorithms that the test server supports
|
| @@ -92,6 +98,10 @@ class TestServer {
|
| // |server_certificate|.
|
| FilePath GetCertificateFile() const;
|
|
|
| + // If the certificate is a magic string, rather than a file on disk, this
|
| + // returns the string to use. Otherwise it returns an empty string.
|
| + std::string GetSpecialCertificateString() const;
|
| +
|
| // The certificate to use when serving requests.
|
| ServerCertificate server_certificate;
|
|
|
|
|