diff options
Diffstat (limited to 'net/http/http_auth_handler_digest.h')
-rw-r--r-- | net/http/http_auth_handler_digest.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/http/http_auth_handler_digest.h b/net/http/http_auth_handler_digest.h index f279b65..a9bf0ec 100644 --- a/net/http/http_auth_handler_digest.h +++ b/net/http/http_auth_handler_digest.h @@ -12,18 +12,19 @@ #include "base/gtest_prod_util.h" #include "base/memory/scoped_ptr.h" #include "base/string16.h" +#include "net/base/net_api.h" #include "net/http/http_auth_handler.h" #include "net/http/http_auth_handler_factory.h" namespace net { // Code for handling http digest authentication. -class HttpAuthHandlerDigest : public HttpAuthHandler { +class NET_TEST HttpAuthHandlerDigest : public HttpAuthHandler { public: // A NonceGenerator is a simple interface for generating client nonces. // Unit tests can override the default client nonce behavior with fixed // nonce generation to get reproducible results. - class NonceGenerator { + class NET_TEST NonceGenerator { public: NonceGenerator(); virtual ~NonceGenerator(); @@ -46,7 +47,7 @@ class HttpAuthHandlerDigest : public HttpAuthHandler { // FixedNonceGenerator always uses the same string specified at // construction time as the client nonce. - class FixedNonceGenerator : public NonceGenerator { + class NET_TEST FixedNonceGenerator : public NonceGenerator { public: explicit FixedNonceGenerator(const std::string& nonce); @@ -57,7 +58,7 @@ class HttpAuthHandlerDigest : public HttpAuthHandler { DISALLOW_COPY_AND_ASSIGN(FixedNonceGenerator); }; - class Factory : public HttpAuthHandlerFactory { + class NET_TEST Factory : public HttpAuthHandlerFactory { public: Factory(); virtual ~Factory(); |