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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2772723006: Do not suppress HTTP Authenticaiton in WebController. (Closed)
Patch Set: Updated comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index 2d14db8e9356133038ee2ea12474641f5dd1619e..0526fd34e17bb684dd9b6f138e616f8775a3c5d9 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -3298,14 +3298,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
[space.authenticationMethod isEqual:NSURLAuthenticationMethodNTLM] ||
[space.authenticationMethod isEqual:NSURLAuthenticationMethodHTTPDigest]);
- if (self.shouldSuppressDialogs) {
- // TODO(crbug.com/702381): Web Controller should not assume that embedder
- // handles HTTP Authentication by showing the dialog.
- _webStateImpl->OnDialogSuppressed();
- completionHandler(NSURLSessionAuthChallengeRejectProtectionSpace, nil);
- return;
- }
-
_webStateImpl->OnAuthRequired(
space, challenge.proposedCredential,
base::BindBlock(^(NSString* user, NSString* password) {
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698