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

Unified Diff: net/http/http_auth_handler_factory_unittest.cc

Issue 1128043007: Support Kerberos on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cbentzel@'s nits Created 5 years, 5 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
Index: net/http/http_auth_handler_factory_unittest.cc
diff --git a/net/http/http_auth_handler_factory_unittest.cc b/net/http/http_auth_handler_factory_unittest.cc
index 2aa7958800c18eaf32cdf3e7f2060909577445aa..be0c3b0b54bcf69cd0d56a6fee8762a634344549 100644
--- a/net/http/http_auth_handler_factory_unittest.cc
+++ b/net/http/http_auth_handler_factory_unittest.cc
@@ -172,7 +172,8 @@ TEST(HttpAuthHandlerFactoryTest, DefaultFactory) {
server_origin,
BoundNetLog(),
&handler);
-#if defined(USE_KERBEROS)
+// Note the default factory doesn't support Kerberos on Android
+#if defined(USE_KERBEROS) && !defined(OS_ANDROID)
EXPECT_EQ(OK, rv);
ASSERT_FALSE(handler.get() == NULL);
EXPECT_EQ(HttpAuth::AUTH_SCHEME_NEGOTIATE, handler->auth_scheme());
@@ -183,7 +184,7 @@ TEST(HttpAuthHandlerFactoryTest, DefaultFactory) {
#else
EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME, rv);
EXPECT_TRUE(handler.get() == NULL);
-#endif // defined(USE_KERBEROS)
+#endif // defined(USE_KERBEROS) && !defined(OS_ANDROID)
}
}

Powered by Google App Engine
This is Rietveld 408576698