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

Unified Diff: ios/chrome/browser/tabs/tab_unittest.mm

Issue 2626733003: [ios] Removed -[CRWWebDelegate webDidAddPendingURL]. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/public/web_state/ui/crw_web_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_unittest.mm
diff --git a/ios/chrome/browser/tabs/tab_unittest.mm b/ios/chrome/browser/tabs/tab_unittest.mm
index 2b495893831b8fa2e8adaab8391798c78c91c81c..9ae72de45bb161ad26be9f6c2a9fad297d254ec1 100644
--- a/ios/chrome/browser/tabs/tab_unittest.mm
+++ b/ios/chrome/browser/tabs/tab_unittest.mm
@@ -226,7 +226,7 @@ class TabTest : public BlockCleanupTest {
andReturnValue:OCMOCK_VALUE(kLoadRequested)] loadPhase];
web::Referrer empty_referrer;
[tab_ webWillAddPendingURL:userUrl transition:ui::PAGE_TRANSITION_TYPED];
- [tab_ webDidAddPendingURL];
+ [tab_ webStateImpl]->OnProvisionalNavigationStarted(userUrl);
[tab_ webWillAddPendingURL:redirectUrl
transition:ui::PAGE_TRANSITION_CLIENT_REDIRECT];
[[tab_ navigationManager]->GetSessionController()
@@ -234,7 +234,7 @@ class TabTest : public BlockCleanupTest {
referrer:empty_referrer
transition:ui::PAGE_TRANSITION_CLIENT_REDIRECT
rendererInitiated:YES];
- [tab_ webDidAddPendingURL];
+ [tab_ webStateImpl]->OnProvisionalNavigationStarted(redirectUrl);
[[[(id)mock_web_controller_ expect]
andReturnValue:OCMOCK_VALUE(kPageLoading)] loadPhase];
[[tab_ navigationManager]->GetSessionController() commitPendingEntry];
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/public/web_state/ui/crw_web_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698