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

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

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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_filter_unittest.cc ('k') | net/proxy/proxy_bypass_rules.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 // See "SSPI Sample Application" at 5 // See "SSPI Sample Application" at
6 // http://msdn.microsoft.com/en-us/library/aa918273.aspx 6 // http://msdn.microsoft.com/en-us/library/aa918273.aspx
7 // and "NTLM Security Support Provider" at 7 // and "NTLM Security Support Provider" at
8 // http://msdn.microsoft.com/en-us/library/aa923611.aspx. 8 // http://msdn.microsoft.com/en-us/library/aa923611.aspx.
9 9
10 #include "net/http/http_auth_handler_ntlm.h" 10 #include "net/http/http_auth_handler_ntlm.h"
11 11
12 #include "base/logging.h"
13 #include "base/string_util.h" 12 #include "base/string_util.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
16 #include "net/http/http_auth_sspi_win.h" 15 #include "net/http/http_auth_sspi_win.h"
17 #include "net/http/url_security_manager.h" 16 #include "net/http/url_security_manager.h"
18 17
19 #pragma comment(lib, "secur32.lib") 18 #pragma comment(lib, "secur32.lib")
20 19
21 namespace net { 20 namespace net {
22 21
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 scoped_ptr<HttpAuthHandler> tmp_handler( 79 scoped_ptr<HttpAuthHandler> tmp_handler(
81 new HttpAuthHandlerNTLM(sspi_library_, max_token_length_, 80 new HttpAuthHandlerNTLM(sspi_library_, max_token_length_,
82 url_security_manager())); 81 url_security_manager()));
83 if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log)) 82 if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log))
84 return ERR_INVALID_RESPONSE; 83 return ERR_INVALID_RESPONSE;
85 handler->swap(tmp_handler); 84 handler->swap(tmp_handler);
86 return OK; 85 return OK;
87 } 86 }
88 87
89 } // namespace net 88 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_auth_filter_unittest.cc ('k') | net/proxy/proxy_bypass_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698