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

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

Issue 2656003004: Remember user decision for bad ssl certs. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | 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 89771e9cb4064ff38aaf56e926f74f9c4a4b09cf..550cf66e875efb78732d00e8346f6675d0b81015 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -4320,6 +4320,10 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
[_certVerificationController allowCert:leafCert
forHost:host
status:info.cert_status];
+ [self.sessionController.sessionCertificatePolicyManager
+ registerAllowedCertificate:leafCert
+ forHost:base::SysNSStringToUTF8(host)
+ status:info.cert_status];
[self loadCurrentURL];
}
}));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698