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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 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_factory.h" 5 #include "net/http/http_auth_handler_factory.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/http/http_auth_filter.h" 10 #include "net/http/http_auth_filter.h"
11 #include "net/http/http_auth_handler_basic.h" 11 #include "net/http/http_auth_handler_basic.h"
12 #include "net/http/http_auth_handler_digest.h" 12 #include "net/http/http_auth_handler_digest.h"
13 #include "net/http/http_auth_handler_negotiate.h" 13 #include "net/http/http_auth_handler_negotiate.h"
14 #include "net/http/http_auth_handler_ntlm.h" 14 #include "net/http/http_auth_handler_ntlm.h"
15 15
16 namespace net { 16 namespace net {
17 17
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 if (it == factory_map_.end()) { 182 if (it == factory_map_.end()) {
183 handler->reset(); 183 handler->reset();
184 return ERR_UNSUPPORTED_AUTH_SCHEME; 184 return ERR_UNSUPPORTED_AUTH_SCHEME;
185 } 185 }
186 DCHECK(it->second); 186 DCHECK(it->second);
187 return it->second->CreateAuthHandler(challenge, target, origin, reason, 187 return it->second->CreateAuthHandler(challenge, target, origin, reason,
188 digest_nonce_count, net_log, handler); 188 digest_nonce_count, net_log, handler);
189 } 189 }
190 190
191 } // namespace net 191 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698