| Index: ios/web/public/test/crw_mock_web_state_delegate.mm
|
| diff --git a/ios/web/public/test/crw_mock_web_state_delegate.mm b/ios/web/public/test/crw_mock_web_state_delegate.mm
|
| index 06cbb759f00186988fcd01241fa84f4e0c181f86..fda453cec2b682b52c82cb78a512e57fc078041a 100644
|
| --- a/ios/web/public/test/crw_mock_web_state_delegate.mm
|
| +++ b/ios/web/public/test/crw_mock_web_state_delegate.mm
|
| @@ -18,6 +18,7 @@
|
|
|
| @synthesize webState = _webState;
|
| @synthesize webStateCreationRequested = _webStateCreationRequested;
|
| +@synthesize webStateClosingRequested = _webStateClosingRequested;
|
| @synthesize repostFormWarningRequested = _repostFormWarningRequested;
|
| @synthesize authenticationRequested = _authenticationRequested;
|
|
|
| @@ -30,6 +31,11 @@
|
| return nil;
|
| }
|
|
|
| +- (void)closeWebState:(web::WebState*)webState {
|
| + _webState = webState;
|
| + _webStateClosingRequested = YES;
|
| +}
|
| +
|
| - (web::WebState*)webState:(web::WebState*)webState
|
| openURLWithParams:(const web::WebState::OpenURLParams&)params {
|
| _webState = webState;
|
|
|