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

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

Issue 2711363003: Use DidFinishNavigation callback in LanguageDetectionController. (Closed)
Patch Set: Removed unused method Created 3 years, 10 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 755753f1660e00ca3a68a520de3069f565affb6f..b7e785c0fddfb9d6d77a9be4534878e64e5dd16f 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
@@ -24,8 +24,6 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
std::unique_ptr<web::TestLoadPageInfo> _loadPageInfo;
// Arguments passed to |webStateDidDismissInterstitial:|.
std::unique_ptr<web::TestDismissInterstitialInfo> _dismissInterstitialInfo;
- // Arguments passed to |webStateDidChangeURLHash:|.
- std::unique_ptr<web::TestChangeUrlHashInfo> _changeUrlHashInfo;
// Arguments passed to |webStateDidChangeHistoryState:|.
std::unique_ptr<web::TestChangeHistoryStateInfo> _changeHistoryStateInfo;
// Arguments passed to |webState:didChangeLoadingProgress:|.
@@ -66,10 +64,6 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
return _dismissInterstitialInfo.get();
}
-- (web::TestChangeUrlHashInfo*)changeUrlHashInfo {
- return _changeUrlHashInfo.get();
-}
-
- (web::TestChangeHistoryStateInfo*)changeHistoryStateInfo {
return _changeHistoryStateInfo.get();
}
@@ -136,11 +130,6 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
_dismissInterstitialInfo->web_state = webState;
}
-- (void)webStateDidChangeURLHash:(web::WebState*)webState {
- _changeUrlHashInfo = base::MakeUnique<web::TestChangeUrlHashInfo>();
- _changeUrlHashInfo->web_state = webState;
-}
-
- (void)webStateDidChangeHistoryState:(web::WebState*)webState {
_changeHistoryStateInfo = base::MakeUnique<web::TestChangeHistoryStateInfo>();
_changeHistoryStateInfo->web_state = webState;
« no previous file with comments | « ios/web/public/test/fakes/crw_test_web_state_observer.h ('k') | ios/web/public/web_state/web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698