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

Side by Side Diff: net/http/http_auth_handler_negotiate_unittest.cc

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698