| OLD | NEW |
| 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_controller.h" | 5 #include "net/http/http_auth_controller.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 void HttpAuthController::DisableAuthScheme(HttpAuth::Scheme scheme) { | 546 void HttpAuthController::DisableAuthScheme(HttpAuth::Scheme scheme) { |
| 547 DCHECK(CalledOnValidThread()); | 547 DCHECK(CalledOnValidThread()); |
| 548 disabled_schemes_.insert(scheme); | 548 disabled_schemes_.insert(scheme); |
| 549 } | 549 } |
| 550 | 550 |
| 551 void HttpAuthController::DisableEmbeddedIdentity() { | 551 void HttpAuthController::DisableEmbeddedIdentity() { |
| 552 DCHECK(CalledOnValidThread()); | 552 DCHECK(CalledOnValidThread()); |
| 553 embedded_identity_used_ = true; | 553 embedded_identity_used_ = true; |
| 554 } | 554 } |
| 555 | 555 |
| 556 void HttpAuthController::OnConnectionClosed() { |
| 557 DCHECK(CalledOnValidThread()); |
| 558 InvalidateCurrentHandler(INVALIDATE_HANDLER); |
| 559 } |
| 560 |
| 556 } // namespace net | 561 } // namespace net |
| OLD | NEW |