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

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

Issue 2688173002: Don't rely on SSL cipher fallback in proxy auth. (Closed)
Patch Set: unnecessary virtual Created 3 years, 8 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
« no previous file with comments | « net/http/http_auth_controller.h ('k') | net/http/http_network_transaction_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) 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
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
OLDNEW
« no previous file with comments | « net/http/http_auth_controller.h ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698