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

Unified Diff: net/http/http_auth_unittest.cc

Issue 7633006: Linux: control usage of Kerberos via use_kerberos gyp flag (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
Index: net/http/http_auth_unittest.cc
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc
index fe11c03e8582d1031ab012c40360e49c8c1df2cc..a89fe752973e2b320c4779e98f55424a17cb5418 100644
--- a/net/http/http_auth_unittest.cc
+++ b/net/http/http_auth_unittest.cc
@@ -102,6 +102,7 @@ TEST(HttpAuthTest, ChooseBestChallenge) {
HttpAuth::AUTH_SCHEME_MAX,
"",
},
+#if defined(USE_KERBEROS)
{
// Choose Negotiate over NTLM on all platforms.
// TODO(ahendrickson): This may be flaky on Linux and OSX as it
@@ -113,6 +114,7 @@ TEST(HttpAuthTest, ChooseBestChallenge) {
HttpAuth::AUTH_SCHEME_NEGOTIATE,
"",
}
wtc 2011/08/12 17:21:51 This probably can also have a #else block.
Paweł Hajdan Jr. 2011/08/12 18:14:42 Done.
+#endif // defined(USE_KERBEROS)
};
GURL origin("http://www.example.com");
std::set<HttpAuth::Scheme> disabled_schemes;

Powered by Google App Engine
This is Rietveld 408576698