| 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.
|
|
|