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

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

Issue 3076013: Move ASCIIToWide and ASCIIToUTF16 to utf_string_conversions.h. I've found it... (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
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_controller.h" 5 #include "net/http/http_auth_controller.h"
6 6
7 #include "base/string_util.h" 7 #include "base/utf_string_conversions.h"
8 #include "net/base/host_resolver.h" 8 #include "net/base/host_resolver.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 #include "net/http/http_auth_handler_factory.h" 10 #include "net/http/http_auth_handler_factory.h"
11 #include "net/http/http_network_session.h" 11 #include "net/http/http_network_session.h"
12 #include "net/http/http_request_headers.h" 12 #include "net/http/http_request_headers.h"
13 #include "net/http/http_request_info.h" 13 #include "net/http/http_request_info.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 namespace { 17 namespace {
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 bool HttpAuthController::IsAuthSchemeDisabled(const std::string& scheme) const { 355 bool HttpAuthController::IsAuthSchemeDisabled(const std::string& scheme) const {
356 return disabled_schemes_.find(scheme) != disabled_schemes_.end(); 356 return disabled_schemes_.find(scheme) != disabled_schemes_.end();
357 } 357 }
358 358
359 void HttpAuthController::DisableAuthScheme(const std::string& scheme) { 359 void HttpAuthController::DisableAuthScheme(const std::string& scheme) {
360 disabled_schemes_.insert(scheme); 360 disabled_schemes_.insert(scheme);
361 } 361 }
362 362
363 } // namespace net 363 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698