| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/http/http_auth_handler_negotiate.h" | 5 #include "net/http/http_auth_handler_negotiate.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "net/base/mock_host_resolver.h" | |
| 10 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
| 11 #include "net/base/test_completion_callback.h" | 10 #include "net/base/test_completion_callback.h" |
| 11 #include "net/dns/mock_host_resolver.h" |
| 12 #include "net/http/http_request_info.h" | 12 #include "net/http/http_request_info.h" |
| 13 #include "net/http/mock_allow_url_security_manager.h" | 13 #include "net/http/mock_allow_url_security_manager.h" |
| 14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 15 #include "net/http/mock_sspi_library_win.h" | 15 #include "net/http/mock_sspi_library_win.h" |
| 16 #elif defined(OS_POSIX) | 16 #elif defined(OS_POSIX) |
| 17 #include "net/http/mock_gssapi_library_posix.h" | 17 #include "net/http/mock_gssapi_library_posix.h" |
| 18 #endif | 18 #endif |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "testing/platform_test.h" | 20 #include "testing/platform_test.h" |
| 21 | 21 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 BoundNetLog(), | 359 BoundNetLog(), |
| 360 &generic_handler); | 360 &generic_handler); |
| 361 EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME, rv); | 361 EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME, rv); |
| 362 EXPECT_TRUE(generic_handler.get() == NULL); | 362 EXPECT_TRUE(generic_handler.get() == NULL); |
| 363 } | 363 } |
| 364 #endif // defined(DLOPEN_KERBEROS) | 364 #endif // defined(DLOPEN_KERBEROS) |
| 365 | 365 |
| 366 #endif // defined(OS_POSIX) | 366 #endif // defined(OS_POSIX) |
| 367 | 367 |
| 368 } // namespace net | 368 } // namespace net |
| OLD | NEW |