Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: net/http/http_auth_handler_negotiate_unittest.cc

Issue 7719024: Revert 97925 - Linux: allow linking directly with Kerberos instead of using dlopen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_auth_handler_factory.cc ('k') | net/http/mock_gssapi_library_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « net/http/http_auth_handler_factory.cc ('k') | net/http/mock_gssapi_library_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698