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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_auth_handler_digest_unittest.cc ('k') | net/http/http_auth_handler_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "net/base/mock_host_resolver.h" 9 #include "net/base/mock_host_resolver.h"
9 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
10 #include "net/base/test_completion_callback.h" 11 #include "net/base/test_completion_callback.h"
11 #include "net/http/http_request_info.h" 12 #include "net/http/http_request_info.h"
12 #if defined(OS_WIN) 13 #if defined(OS_WIN)
13 #include "net/http/mock_sspi_library_win.h" 14 #include "net/http/mock_sspi_library_win.h"
14 #elif defined(OS_POSIX) 15 #elif defined(OS_POSIX)
15 #include "net/http/mock_gssapi_library_posix.h" 16 #include "net/http/mock_gssapi_library_posix.h"
16 #include "net/third_party/gssapi/gssapi.h" 17 #include "net/third_party/gssapi/gssapi.h"
17 #endif 18 #endif
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 HttpRequestInfo request_info; 352 HttpRequestInfo request_info;
352 std::string token; 353 std::string token;
353 EXPECT_EQ(ERR_IO_PENDING, auth_handler->GenerateAuthToken( 354 EXPECT_EQ(ERR_IO_PENDING, auth_handler->GenerateAuthToken(
354 NULL, NULL, &request_info, &callback, &token)); 355 NULL, NULL, &request_info, &callback, &token));
355 EXPECT_EQ(ERR_MISSING_AUTH_CREDENTIALS, callback.WaitForResult()); 356 EXPECT_EQ(ERR_MISSING_AUTH_CREDENTIALS, callback.WaitForResult());
356 } 357 }
357 358
358 #endif // defined(OS_POSIX) 359 #endif // defined(OS_POSIX)
359 360
360 } // namespace net 361 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_digest_unittest.cc ('k') | net/http/http_auth_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698