Index: net/http/http_auth_handler_negotiate_unittest.cc |
=================================================================== |
--- net/http/http_auth_handler_negotiate_unittest.cc (revision 98027) |
+++ net/http/http_auth_handler_negotiate_unittest.cc (working copy) |
@@ -15,6 +15,7 @@ |
#include "net/http/mock_sspi_library_win.h" |
#elif defined(OS_POSIX) |
#include "net/http/mock_gssapi_library_posix.h" |
+#include "net/third_party/gssapi/gssapi.h" |
#endif |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/platform_test.h" |
@@ -25,6 +26,7 @@ |
typedef net::test::MockGSSAPILibrary MockAuthLibrary; |
#endif |
+ |
namespace net { |
class HttpAuthHandlerNegotiateTest : public PlatformTest { |
@@ -343,7 +345,6 @@ |
EXPECT_EQ(ERR_MISSING_AUTH_CREDENTIALS, callback.WaitForResult()); |
} |
-#if defined(DLOPEN_KERBEROS) |
TEST_F(HttpAuthHandlerNegotiateTest, MissingGSSAPI) { |
scoped_ptr<HostResolver> host_resolver(new MockHostResolver()); |
MockAllowURLSecurityManager url_security_manager; |
@@ -365,7 +366,6 @@ |
EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME, rv); |
EXPECT_TRUE(generic_handler.get() == NULL); |
} |
-#endif // defined(DLOPEN_KERBEROS) |
#endif // defined(OS_POSIX) |