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

Unified Diff: ios/web/public/web_state/ui/crw_web_delegate.h

Issue 2146763003: [ios] Cleaned up deprecated SSLError delegate method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: ios/web/public/web_state/ui/crw_web_delegate.h
diff --git a/ios/web/public/web_state/ui/crw_web_delegate.h b/ios/web/public/web_state/ui/crw_web_delegate.h
index d29c6f63f9a858e20d03a56302e7ef2330707091..c2353105effae23b8d5bb2d672b87df2239ae3dd 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -32,9 +32,6 @@ class BlockedPopupInfo;
struct Referrer;
}
-// Callback for -presentSSLError:forSSLStatus:onUrl:recoverable:callback:
-typedef void (^SSLErrorCallback)(BOOL);
-
// Methods implemented by the delegate of the CRWWebController.
@protocol CRWWebDelegate<NSObject>
@@ -143,16 +140,6 @@ typedef void (^SSLErrorCallback)(BOOL);
@optional
-// This method is called when a network request has an issue with the SSL
-// connection to present it to the user. The user will decide if the request
-// should continue or not and the callback should be invoked to let the backend
-// know.
-// The callback is safe to call until CRWWebController is closed.
-- (void)presentSSLError:(const net::SSLInfo&)info
- forSSLStatus:(const web::SSLStatus&)status
- recoverable:(BOOL)recoverable
- callback:(SSLErrorCallback)shouldContinue;
-
// Called to ask CRWWebDelegate if |CRWWebController| should open the given URL.
// CRWWebDelegate can intercept the request by returning NO and processing URL
// in own way.
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_web_controller.mm » ('j') | ios/web/web_state/ui/crw_web_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698