| Index: ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| diff --git a/ios/web/public/test/fakes/crw_test_web_state_observer.mm b/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| index 673d89e450175a62b652839ad02e5bc98a9dc761..f1eb5ae1fbfc8ae5b31eafcc8ffc3c20c8516c6a 100644
|
| --- a/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| +++ b/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| @@ -34,6 +34,9 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
|
| _changeLoadingProgressInfo;
|
| // Arguments passed to |webStateDidChangeTitle:|.
|
| std::unique_ptr<web::TestTitleWasSetInfo> _titleWasSetInfo;
|
| + // Arguments passed to |webStateDidChangeVisibleSecurityState:|.
|
| + std::unique_ptr<web::TestDidChangeVisibleSecurityStateInfo>
|
| + _didChangeVisibleSecurityStateInfo;
|
| // Arguments passed to
|
| // |webState:didSubmitDocumentWithFormNamed:userInitiated:|.
|
| std::unique_ptr<web::TestSubmitDocumentInfo> _submitDocumentInfo;
|
| @@ -81,6 +84,11 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
|
| return _titleWasSetInfo.get();
|
| }
|
|
|
| +- (web::TestDidChangeVisibleSecurityStateInfo*)
|
| + didChangeVisibleSecurityStateInfo {
|
| + return _didChangeVisibleSecurityStateInfo.get();
|
| +}
|
| +
|
| - (web::TestSubmitDocumentInfo*)submitDocumentInfo {
|
| return _submitDocumentInfo.get();
|
| }
|
| @@ -174,6 +182,12 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
|
| _titleWasSetInfo->web_state = webState;
|
| }
|
|
|
| +- (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState {
|
| + _didChangeVisibleSecurityStateInfo =
|
| + base::MakeUnique<web::TestDidChangeVisibleSecurityStateInfo>();
|
| + _didChangeVisibleSecurityStateInfo->web_state = webState;
|
| +}
|
| +
|
| - (void)webState:(web::WebState*)webState
|
| didSubmitDocumentWithFormNamed:(const std::string&)formName
|
| userInitiated:(BOOL)userInitiated {
|
|
|