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

Unified Diff: ios/web/public/test/fakes/crw_test_web_state_observer.mm

Issue 2752013002: Removed webControllerDidUpdateSSLStatusForCurrentNavigationItem:. (Closed)
Patch Set: Created 3 years, 9 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/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 {
« no previous file with comments | « ios/web/public/test/fakes/crw_test_web_state_observer.h ('k') | ios/web/public/test/fakes/test_web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698